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 like: public interface BookListener { void onBook(Book book); } @Produce("jms:foo.bar") BookListener bookListener; bookListener.onBook(book); When I do this I send a BeanInvocation to the jms queue. Is it possible to only send the jaxb serialized object ? Thanks Christian -- ---- http://www.liquid-reality.de