camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Bridgewater <max.bridgewa...@gmail.com>
Subject Re: Avoiding Serialization in DefaultProducerTemplate
Date Sun, 01 Jun 2014 01:11:37 GMT
Hi Ben,

Thanks for your input. Good to know this exists for some endpoint. I am
using direct-vm. Anything in that direction?

Max.



On Sat, May 31, 2014 at 8:59 PM, boday <ben.oday@initekconsulting.com>
wrote:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message