- add tls connection test
- Implement JWT (OAuth 2) closes https://github.com/rabbitmq/rabbitmq-amqp-go-client/issues/23
- refactor connection interfaces to support only one endpoint
- refactor Environment interfaces to support multiple endpoints
- Validate the features for RabbitMQ 4.1 like OAuth refresh token
---------
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
* Refactor the API
* Use the interfaces to define the targets for queues, exchanges and bindings
* Implement the producer message target-based
---------
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
* Prefer using `IQueueSpecification` and `IExchangeSpecification` instead of `string`
For bindings, use strings for source and destination names.
Add sleep so credit is granted from RMQ (HACK)
Add minimal sleep for links to be established
* No need to have exported types and functions in `common.go`
* Simplify functions and remove `PercentCodec` type
Use `fmt.Errorf`
Update modules
* Implement connection and management
* Setup CI
* First version for queue declaration
---------
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>