With JMS you can send objects using the javax.jms.ObjectMessage.

In case you want to send plain text instead then you can tell Camel to
do that using the jmsMessageType=Text option on the JMS endpoint.

See more details at
http://camel.apache.org/jms


On Sun, Jan 16, 2011 at 5:54 AM, Bill <[email protected]> wrote:
>
> Hello,
> It's the defalut dataFormat (POJO), so throws an exception.
> but when I set the dataFormat = PAYLOAD , it  warns "Cannot determine
> specific JmsMessage type to use from body class. Will use generic
> JmsMessage."  and i recived an ActiveMQMessage.
> when I set the dataFormat = MESSAGE , I recived an byteMessage , and I
> cann't read the soap context from it.
>
> what i want it's send the soap context to the JMS.
>
> my route is set like this :
> from("cxf:bean:orderEndpoint").to("jms:dataQueue");
>
> and I have another question: my ws client send a request to the proxy
> webservice,I don't know how to set the reply to the client. and the client
> always get the SoapFault: The OUT message was not received within: 20000
> millis ..
> I try to process the exchange :  exchange.getOut.setBody("") , but it
> doesn't work.
>
> where I can find the sample like this.
> Thank you.
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/WS-JMS-WS-says-RuntimeException-tp3342602p3343141.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



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

Reply via email to