activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nawaz Ahmed" <>
Subject How to Set the header value to the JMS messages
Date Wed, 04 Feb 2009 04:29:56 GMT
Hello Friends,


These are the headers of the JMS Message:


JMSDestination, JMSRedelivered, JMSTimestamp, JMSExpiration, JMSType,
JMSDeliveryMode, JMSMessageID=, JMSXGroupID, JMSCorrelationID,
JMSPriority, JMSReplyTo


I want to know is there any way to add header to the JMS Messages?


Had used the method setHeader(String name, String value) but
unfortunately it doesnt work.  


What is the other way to set the header along with the value and also to
retrieve the same?



Thanks and Regards,

Nawaz Ahmed


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message