[rabbitmq-discuss] How to get custom header

cw storm cwstorm at gmail.com
Wed Jan 29 15:27:42 GMT 2014


I'm having difficulty trying to understand how to code to extract custom
headers.  I was able to put the custom header info by issuing below:

java.util.Map<String,Object> headers = new
java.util.HashMap<String,Object>();
headers.put("FirstName", strFirstName);

So, when I consume the message, how can I get "Firstname" value?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140129/26e50ade/attachment.html>


More information about the rabbitmq-discuss mailing list