If you are using Camel CXF transport, it could be easy to add the option on the JMS endpoint by specifying the option on the URL.

On Mon Mar 19 15:50:42 2012, Claus Ibsen wrote:
Hi

How do you put the message on the JMS transport?

If you use the camel-jms component, you can configure it to which
jmsMessageType you want.
http://camel.apache.org/jms

On Sun, Mar 18, 2012 at 6:04 PM, Chris Odom<[email protected]>  wrote:
I created a simple transport for my cxf jax-ws client which is backed with
jaxb bindings. I noticed that when I put the request out on the jms
transport the message body is treated as a bytes message. I wish to
decouple the data format for my messaging system, as in, there will be
services that may or may not use jaxb or, if at all, will even know what a
jaxb context is, I just want them to receive text. With that said is there
an easy configuration maybe in the cxf-codegen-plugin, or cxf client
endpoint parameter for this or do I really have to create camel marshallers
and unmarshallers?

--
Thanks,
Chris Odom
512:799-0270






--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to