[rabbitmq-discuss] configure external data store(like database) for message durability in rabbitmq
PATAR, SAGAR
sp345s at att.com
Tue Oct 1 16:13:36 BST 2013
Thanks..
We are using MDB's and deploying them in JBOSS AS 5.1 ... Just wanted to make sure that it is supported ..
Can you please provide us some examples on how to configure MDB's to a rabbitMQ queues or topics ..
-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Michael Klishin
Sent: Tuesday, October 01, 2013 11:00 AM
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] configure external data store(like database) for message durability in rabbitmq
On oct 1, 2013, at 6:37 p.m., "PATAR, SAGAR" <sp345s at att.com> wrote:
> I was wondering if the rabbitmq-java-client--3.1.5 has the capability to seamlessly connect to the cluster in case of failovers to Slaves or masters ?? or do we have to wrap the reconnect logic ..
You can connect to any node for both publishing and consuming. Performance characteristics
will vary depending on whether the node you connect to is master for the queue(s) you use
but otherwise any node will work just as well as any other.
> For multiple hosts and port .. can we use the below amqp URL ...
>
> amqp://username1:password1@hostName1:portNumber1,hostname2:portNumber2,hostname3:portname4/virtualHost
I don't think you can list multiple host:port pairs in the URI but there is a ConnectionFactory#newConnection version that will connect to the first reachable node.
MK
More information about the rabbitmq-discuss
mailing list