Re: Can't process custom jms properies

2013-09-27 Thread kraythe .
Furthermore, you want exchange.getIn().setHeader("JMSMyProp", "Myval) Properties are local to the camel context and dont make it to JMS. Nor does anything other than primitives or strings for property values. If you need to send an object, send a JSON encoded version of it. *Robert Simmons Jr. M

Re: Can't process custom jms properies

2013-09-23 Thread Claus Ibsen
Hi The JMS spec only allows certain types to be used as jms properties. Its primitives and String. You can check the JMS spec or the JMS API: http://docs.oracle.com/javaee/6/api/javax/jms/Message.html And there is also some details on the camel jms page http://camel.apache.org/jms On Mon, Sep 23

Can't process custom jms properies

2013-09-23 Thread Gabriel
Hi, I tried to set an properies array in a jms message like this I've used a processor): HashMap properties = new HashMap(); properties.put("test", "test"); exchange.getIn().setHeader("properties", properties); I also tried to set an header like this: exchange.getPropertie