On Thu, Mar 1, 2012 at 11:37 AM, Michael Szalay
<[email protected]> wrote:
> Hi all
>
> I have a route that sends a file to an activemq queue, which gets consumed
> by another components. This works, but I want to pass a customer property in 
> the message.
> I tried the exchange properties and headers, but nothing works, by property 
> does
> just not arrive on the other side...
>
> Is there a way to add a custom property (a string) to a message?
>

Yes you can use message headers (which are JMS properties). Mind that
the JMS spec have some limitations what is permitted to send as
key/values for headers. So check the spec and the JMS wiki page at
Camel
http://camel.apache.org/jms

> Regards Michael
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to