Question

I am writing an AMQP Client Library in Erlang. For the 'connection.open' method, there are 2 reserved parameters "documented" in AMQP 0.9.1 out of a total of 3. When I send the method in question without the "reserved parameters", I get "unable to decode method" in the error log.

What should I be sending as value for those "reserved parameters" ??

Update: It seems the server still expects some parameters even if the parameters are deprecated (see source code for code generator).

Was it helpful?

Solution

These used to be "ticket" arguments in previous versions of Amqp, in my own Amqp libs I just send a null for these, you're right that they are required. It does seem silly to have them in there, hopefully they'll be removed in future versions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top