camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: JMS Component Query
Date Tue, 04 Feb 2014 14:55:37 GMT
On Tue, Feb 4, 2014 at 3:49 PM, gilboy <josephotoole@gmail.com> wrote:
> Thanks for the response
>
> I tried that, i.e. changed my domain object to not implement Serializable
> and set jmsMessageType=Object in the JMS Endpoint but I get the following
> error:
>
>  javax.jms.MessageFormatException: No type converter available to convert
> from type: com.fmrco.ptd.domain.BlockVO to the required type:
> java.io.Serializable with value BlockVO
>

Ah yeah when you use that JMS message type, then the data needs to be
serialized over the network.
And therefore needs to be serializable - either impl that interface,
or do it a bit manually with Externalizable



> Thanks
> Joe
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/JMS-Component-Query-tp5746751p5746790.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message