Hi all, I have an application that needs to publish event XML messages onto Active MQ. I am looking for the suggested pattern for this.
I would like certain pieces of code inside my application to be able to: 1. create a new "Event" object (pojo) and populate with data 2. send this object to an an abstract endpoint 3. this endpoint would map to a queue or topic on a specific active mq broker (ideally configured in spring xml) If this were done inside an event paradigm that would be great. Or even if there was just a way to say, "send this object to a Camel destination/endpoint, and please handle the marshalling of the XML". The marshalling ideally would be taken care of by Jaxb. The send is a publish pattern, so no waiting/blocking for a response. I have looked at the @Produce annotation and the ProducerTemplate with some success. But I am still not seeing a simple way to declare that method A sends to endpoint X. And be able to configure queues and topics in Spring. Any suggestions? BTW - the less annotations I have to use, the better. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Recommended-approach-to-publish-XML-to-JMS-messages-from-Java-tp2835221p2835221.html Sent from the Camel - Users mailing list archive at Nabble.com.