activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Using FailoverTransport
Date Fri, 23 Apr 2010 10:24:04 GMT
Hi,

you the normal JMS code for that (find any JMS tutorial on the topic). The
only thing that is different in failover case is broker url you use
(e.g failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false)

See http://activemq.apache.org/failover-transport-reference.htm<http://activemq.apache.org/failover-transport-reference.html>l
 for more info.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Fri, Apr 23, 2010 at 11:32 AM, Kalpana Jalawadi <
kalpana.jalawadi@gmail.com> wrote:

>
> Hi,
> Could anybody post a code snippet for acquiring a connection & session over
> a FailoverTransport.
>
> Thanks in advance.
> --
> View this message in context:
> http://old.nabble.com/Using-FailoverTransport-tp28338986p28338986.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message