I have the following scenario:
Read a message from a Weblogic queue and I have to write this to an ActiveMQ queue (transaction wise)
(i can’t use JMS Bridge,Foreign JNDI for various reason that do not depend on me)
Is there a way of doing this ? using Spring ? or JCA ?
Thanks
Apache Camel is a good option here – it comes with ActiveMQ and can be embedded directly inside your broker config (just normal Spring, in activemq.xml used to start the broker); or you can use it independently of the broker in a standalone process.
To use it, you’d set up the connections for the two brokers, and have a route from a queue in Weblogic to an ActiveMQ equivalent. Here’s a quick and dirty version:
Check out http://camel.apache.org/jms.html for more details. Hope that helps.