what endpoint are you producing to? if you are using ActiveMQ with the VM
transport, then you can disable serialization by setting this property on
the connection factory...
ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory("vm://localhost");
factory.setObjectMessageSerializationDefered(true);
Klaus777 wrote
> Hi,
>
> It seems DefaultProducerTemplate serializes my exchange body even if I
> want
> to simply send a message within the same VM.
>
> Is there a way to avoid this serialization?
>
> Thanks,
> Max.
-----
Ben O'Day
IT Consultant -http://consulting-notes.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Avoiding-Serialization-in-DefaultProducerTemplate-tp5751784p5751785.html
Sent from the Camel - Users mailing list archive at Nabble.com.