On Fri, Nov 23, 2012 at 5:00 PM, Narita Bagchi
<narita.bag...@headstrong.com> wrote:
>
>
> Camel adds the JMS properties to the In message headers when it receives a 
> JMS message. My requirement is to set JMSType. The JMSConfiguration 
> "jmsMessageType" is not same as "JMSType". Correct me if am wrong.
> How can I set the "JMSType"? If I add it to the header of the exchange, from 
> inside a Processor before reaching the JMSComponent, I fear the default value 
> will override the value I set.
>

jmsMessageType and JMSType is not the same. The former is used to
force which kind of javax.jms.Message implementation to use (eg
TextMessage, BytesMessage etc.)

Setting JMSType can just be done by setting a header.

> -Narita
>
> ***The information transmitted is intended only for the person or entity to 
> which it is addressed and may contain confidential and/or privileged 
> material. Any review,retransmission,dissemination or other use of, or taking 
> of any action in reliance upon, this information by persons or entities other 
> than the intended recipient is prohibited. If you received this in error, 
> please contact the sender and delete the material from any computer.***



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to