achilleasa / dart_amqp

Dart AMQP client implementing protocol version 0.9.1
MIT License
79 stars 40 forks source link

Add autoDelete flag to channel implementation #119

Closed Jafarili closed 5 months ago

Jafarili commented 7 months ago

Add autoDelete flag to channel implementation

achilleasa commented 6 months ago

Is this a rabbitmq-specific interpretation of this flag?

Section 1.6.2.1 of the AMQP spec which was used to auto-generate the bindings shows this field as reserved.

Jafarili commented 5 months ago

I think it's added in amqp.0-10:

Screenshot 2024-05-30 at 15 42 24
achilleasa commented 5 months ago

Thanks for the link. This package only supports the 0.9.1 version of the spec so I would rather we did not manipulate fields that are marked reserved in 0.9.1 as this might make servers reject behave unexpectedly (e.g. close the stream with an error).

Jafarili commented 5 months ago

fair enough, so I'll close the PR :)