Re: Sending serialized object instead of BeanInvocation through pojo producing

2011-01-08 Thread Claus Ibsen
On Fri, Jan 7, 2011 at 5:38 PM, Christian Schneider wrote: > Hi all, > > I would like to send an object to a jms queue using camel. > While I know I can do: > > �...@endpointinject(uri="jms:foo.bar") >  ProducerTemplate producer; > > producer.sendBody(book); > > The problem with the above code is

Sending serialized object instead of BeanInvocation through pojo producing

2011-01-07 Thread Christian Schneider
Hi all, I would like to send an object to a jms queue using camel. While I know I can do: @EndpointInject(uri="jms:foo.bar") ProducerTemplate producer; producer.sendBody(book); The problem with the above code is that I have camel in the business logic. So I would like to use an interface