You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by NabiL <el...@gmail.com> on 2010/04/12 01:04:07 UTC

the Best way to connect client to AMQ servers

Hi all,

I'm asking about JMS client connexion with Master/Slave AMQ Server. The
client must know the master and slave host or @IP by specifying
failover(master, slave)

Is there any method to configure client in order to connect to Servers
without knowing the hostnames ?

Thanks in advance.
Nabil 
-- 
View this message in context: http://old.nabble.com/the-Best-way-to-connect-client-to-AMQ-servers-tp28212499p28212499.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: the Best way to connect client to AMQ servers

Posted by "Stefan Kleineikenscheidt (K15t Software)" <st...@k15t.com>.
You should be able to use auto-discovery.  The slave will not accept
connections until it becomes master.

Hth,
-Stefan


On Mon, Apr 12, 2010 at 1:04 AM, NabiL <el...@gmail.com> wrote:

>
> Hi all,
>
> I'm asking about JMS client connexion with Master/Slave AMQ Server. The
> client must know the master and slave host or @IP by specifying
> failover(master, slave)
>
> Is there any method to configure client in order to connect to Servers
> without knowing the hostnames ?
>
> Thanks in advance.
> Nabil
> --
> View this message in context:
> http://old.nabble.com/the-Best-way-to-connect-client-to-AMQ-servers-tp28212499p28212499.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>