[rabbitmq-discuss] can activemq and rabbitmq be used together in the same application?
simon at rabbitmq.com
Thu Mar 15 10:54:40 GMT 2012
On 15/03/12 08:06, Ashutosh Mathur wrote:
> -> Is it possible to use both ActiveMQ broker and RabbitMQ broker in the
> same application/project?
Absolutely, but you'll need different client libraries (or use STOMP,
which they both talk).
> I want to send some messages using
> ActiveMQ/JMS and some using RabbitMQ/AMQP(please don't ask why!!).
> I tried using both ..but my application keeps giving a JMS exception .Is
> it possible for ActiveMQ broker to interact/listen to a RabbitMQ broker
> and vice-versa(i guess using a bridge of some sort)? if yes,then how do
> we build the bridge between the two?
There's no pre-existing bridge to my knowledge, although you could write
one I suppose.
> ->how can we define JAVA beans for
> using XML,so that we need not define connection,connection-factory in
> every listener/sender we create.? is the following correct way of
> defining a Rabbit Template:
> <bean id="rabbitTemplate"
> <property>name="connectionFactory" ref="rabbitConnectionFactory"</property>
Any Spring-AMQP experts want to comment on this?
More information about the rabbitmq-discuss