[rabbitmq-discuss] Java RabbitMQ API bug in response.getHeaders()?

Mario Leyton mleyton at niclabs.cl
Thu Oct 27 15:41:01 BST 2011


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:


Mario Leyton
NIC Chile Research Labs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111027/f955554d/attachment.htm>

More information about the rabbitmq-discuss mailing list