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 <[email protected]> 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. >
