[rabbitmq-discuss] Sender-selected distribution appears to not work
Matthias Radestock
matthias at rabbitmq.com
Sat Apr 21 14:15:22 BST 2012
On 21/04/12 14:05, Laing, Michael P. wrote:
> Unfortunately, testing via the management console returns this:
>
> 406 PRECONDITION_FAILED - invalid message:
> {unacceptable_type_in_header,longstr,"CC"}
>
>
> (although it's not really clear how to enter an array in the field)
>
> Testing via my program returns something similar:
>
> Unhandled channel error: PRECONDITION_FAILED - invalid message:
> {unacceptable_type_in_header,table,"CC"}
>
>
> It seems to reject "CC" as a header.
The header value needs to be an AMQP 'array'. Unfortunately I have no
idea how to enter that in the management UI or how to produce such a
header in the client library you are using.
Matthias.
More information about the rabbitmq-discuss
mailing list