activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: broker config if destination may be down
Date Tue, 14 Dec 2010 10:25:40 GMT
Hi,

did you check failover transport

http://activemq.apache.org/failover-transport-reference.html

Cheers
--
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@fusesource.com
Web: http://fusesource.com
Twitter:  http://twitter.com/dejanb
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Mon, Dec 13, 2010 at 11:29 PM, logosdev <logosdev@yahoo.com> wrote:
>
> Hi folks, for the purposes of this question I am using activemq 5.3.1,
> non-persistent
>
> I would like to use the BrokerService in the normal way as a bridge between
> a local queue and a remote destination.  The trick is that the remote
> destination may or may not be up at the time the BrokerService starts.
> Currently I have no trouble starting the broker when the destination is
> reachable, but as you might expect things blow up otherwise.
>
> Note that I am not talking about a connection that intermittently drops
> after the initial startup - activemq seems to handle that.  I am talking
> about an unreachable destination at startup.
>
> Ideally, I'd like the BrokerService to automatically try to reconnect (at
> reasonable intervals), and to queue up messages until the connection can be
> made.  If this isn't possible, I'm happy to code around it - I'd just like
> some advice on what's considered the proper approach.
>
> How would you folks handle this?
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/broker-config-if-destination-may-be-down-tp3086163p3086163.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message