Hi

Its only the content from the message that is transferred, eg body + headers.
And for JMS there is some restrictions. See the Camel JMS page for more details.

On Mon, Dec 29, 2014 at 4:55 PM, sathiyaraja
<sathiyaraja1...@hotmail.com> wrote:
> I am doing message transfer with Active MQ's. When i transfer the Message
> contents to a ActiveMq Endpoint, All the camel exchange properties are lost.
> How to use exchange properties with Active Mq.
>
> My Implementation.,
> <route>
>       <from uri="activemq:personnel.records"/>
>       <choice>
>         <when>
>           <xpath>/person/city = 'London'</xpath>
>           *<camel:setProperty propertyName="Value">
>           <constant>london</constant>
>           </camel:setProperty>*
>           <camel:log message="Property value is
> ...${property.Value}"></camel:log>--Values logged here
>           <to uri="activemq:topic:London"/>
>         </when>
>         <otherwise>
>         *<camel:setProperty propertyName="Value">
>           <constant>others</constant>
>           </camel:setProperty>*
>           <camel:log message="Property value is
> ...${property.Value}"></camel:log>--Values logged here
>           <to uri="activemq:topic:Others"/>
>         </otherwise>
>       </choice>
>     </route>
>     <route>
>     <from uri="activemq:topic:London"/>
>     <camel:log message="Property value is
> ...${property.Value}"></camel:log>--Values not logged here
>     <log message="Message in topic london is..${body}"></log>
>     </route>
>     <route>
>     <from uri="activemq:topic:Others"/>
>     <camel:log message="Property value is
> ...${property.Value}"></camel:log>--Values not logged here
>     <log message="Message in topic Others is..${body}"></log>
>     </route>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-have-Camel-Exchange-Properties-while-doing-message-transfer-with-ActiveMq-tp5761116.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to