Hi

Which version of Camel do you use?
And where do you get the exception?

And btw its not a good idea to send Objects to a JMS queue. Then the
consumer need to have the classes on its classpath, and they need to
be compatible etc.
Since you use web services you can send Text instead, which mean the
XML representation of the webservice is used instead.


On Wed, Jun 6, 2012 at 6:27 PM, semecamel <diata.ke...@gmail.com> wrote:
> I am trying to put an object to jms queue, i am getting this error.
>
>  java.lang.ClassNotFoundException:
> org.apache.cxf.message.MessageContentsList
>
> Here is my route code:
>
> String cxfEndpoint = "cxf:/MyOrderService"
>                + "?serviceClass=integration.camel.ws.MyOrderService";
>
> from(cxfEndpoint).to("jms:queue:myOrderQueue?jmsMessageType=Object").process(new
> MyOrderProcessor());
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/java-lang-ClassNotFoundException-org-apache-cxf-message-MessageContentsList-tp5714086.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to