[rabbitmq-discuss] Java RabbitMQ API bug in response.getHeaders()?
Valentin BERNARD
vbernard42 at gmail.com
Thu Oct 27 17:00:41 BST 2011
Hi Mario,
I think this is the correct behavior, according to the javadoc:
http://www.rabbitmq.com/releases/rabbitmq-java-client/v2.3.1/rabbitmq-java-client-javadoc-2.3.1/com/rabbitmq/client/AMQP.BasicProperties.html#getHeaders()
Cheers,
Valentin.
On 27 oct, 16:41, Mario Leyton <mley... at niclabs.cl> wrote:
> Hello,
>
> We are using rabbitmq java client and I believe the following is a bug:
>
> GetResponse response = ...;
> AMQP.BasicProperties props = response.getProps();
> Map<String, Object> headers = props.getHeaders();
>
> If no headers are set, then headers variable is null when it should be
> an empty Map.
>
> We are using the following rabbitmq libraries and versions:
>
> 'com.rabbitmq:amqp-client:jar:2.3.1',
> 'org.apache.commons:commons-io:jar:1.3.2',
> 'commons-pool:commons-pool:jar:1.5.6'
>
> Mario Leyton
> --
> NIC Chile Research Labs
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list