[rabbitmq-discuss] X-expires not working in 0-8-0 clients

MarcusR marcus_rubeus at hotmail.com
Mon Jan 16 23:19:59 GMT 2012


It seems that the x-expires argument for declaring queues is not
accepted from 0-8 clients. The error message I receive is this:

PRECONDITION_FAILED - invalid arg 'x-expires' for queue

I assume this is because 0-8 only has the type "I" to write integers
in the argument field table. Perhaps it uses a different numeric type
that is not available to 0-8 clients. Is there a way around this
limitation? Has anyone gotten this to work? To me this seems like a
bug.

Here is a hex dump of the queue declare that I send:

0000  01 00 01 00 00 00 4a 00  32 00 0a 00 00 2f 61 6c   ......J.
2..../al
0010  6c 2d 31 2d 39 39 64 66  35 39 65 33 66 35 34 37   l-1-99df
59e3f547
0020  34 64 61 37 66 33 65 39  30 63 30 30 66 31 30 31   4da7f3e9
0c00f101
0030  39 38 64 65 2d 33 32 31  36 39 37 34 38 10 00 00   98de-321
69748...
0040  00 0f 09 78 2d 65 78 70  69 72 65 73 49 e8 03 00   ...x-exp
iresI�..
0050  00 ce


More information about the rabbitmq-discuss mailing list