Add custom stringproperty to jms message

2014-05-30 Thread David Karlsen
Hi. I'm using camel for my communcations, and specifically WebSphere WMQ as the JMS middleware. I want to set a custom string property on the messages sent: http://docs.oracle.com/javaee/1.4/api/javax/jms/Message.html#setStringProperty(java.lang.String, java.lang.String) My route looks like this:

Re: Add custom stringproperty to jms message

2014-05-30 Thread pradeep
://camel.apache.org/jms.html Regards, PradeepN -- View this message in context: http://camel.465427.n5.nabble.com/Add-custom-stringproperty-to-jms-message-tp5751745p5751747.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Add custom stringproperty to jms message

2014-05-30 Thread David Karlsen
p://camel.apache.org/jms.html > > Regards, > PradeepN > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Add-custom-stringproperty-to-jms-message-tp5751745p5751747.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Re: Add custom stringproperty to jms message

2014-05-30 Thread Claus Ibsen
T+02:00 pradeep : > >> Hi, >> >> In the above code snippet the camel header is set. So when the JMS >> consumer(WMq consumer) receives the actual message then this camel header >> will be lost. Instead of camel header you can set camel jms header. Have a >> look

Re: Add custom stringproperty to jms message

2014-06-01 Thread David Karlsen
amp"); > > getOutFilter().add("JMSXState"); > > } > > > > > > 2014-05-30 13:58 GMT+02:00 pradeep : > > > >> Hi, > >> > >> In the above code snippet the camel header is set. So when the JMS > >>