Commit Graph

9 Commits

Author SHA1 Message Date
Gabriele Santomaggio 6cd3f90025
Implement JWT (OAuth 2) (#39)
- 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>
2025-03-05 09:46:28 +01:00
Gabriele Santomaggio 941ecfe6f6
Update go.mod (#35)
* Update go.mod
* Update AZURE to 1.4.0 stable
---------

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
2025-02-20 09:53:49 +01:00
Gabriele Santomaggio 89c4dd74a4
Refactor the API interfaces (#21)
* 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>
2025-01-30 11:29:44 +01:00
dependabot[bot] 023979a0ad
Bump golang.org/x/net from 0.29.0 to 0.33.0 (#18)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.29.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 15:29:51 +01:00
Gabriele Santomaggio 35b8893b93
Add multi uris support (#17)
* Multi uris configuration
*  remove the Interfaces
* Add outcome delivery
* refactor
* refactor state
---------
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
2025-01-16 15:26:12 +01:00
Michal Kuratczyk 95d4df61ad
Bump go-amqp to 1.2.0 2024-10-01 12:43:03 +02:00
Luke Bakken b9a14aaf38
API consistency with .NET client
* 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
2024-09-23 12:49:16 -07:00
Gabriele Santomaggio 189408c5bb
Restore the Azure Client (#11)
The null value is fixed here https://github.com/Azure/go-amqp/pull/336

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
2024-09-16 09:34:27 +02:00
Gabriele Santomaggio fa7d5d9413
Implement connection and management (#1)
* Implement connection and management 
* Setup CI  
* First version for queue declaration
---------

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
2024-09-10 11:26:46 +02:00