Azure / go-amqp

AMQP 1.0 client library for Go.
https://github.com/Azure/go-amqp
MIT License
104 stars 56 forks source link

First pass at adding in transactions #312

Open richardpark-msft opened 10 months ago

richardpark-msft commented 10 months ago

First pass at adding in transactions without any hacks.

This also adds in some live testing against Azure Service Bus for transactions.

Functionality all appears to be intact - can send, receive and also discharge transactions (rollback and commit).

richardpark-msft commented 10 months ago

(I have a couple of tests I want to fill in, and I need to make the live tests optional but this is the approach I've got for adding in support for AMQP transactions).

There might be additional work but, AFAICT, this implements the parts of the spec that we care about in a way that could potentially be expanded if needed.