You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by C Watson <dr...@dreamcove.com> on 2008/02/01 17:12:56 UTC

Auto-(re)connect of JMS Queue

I have the need to subscribe to multiple external queues in my service
assembly.  The other queues are from clients.  As such, I'm not in control
of when queues and up or down.  During some proof-of-concept testing, I
noticed that if an external queue (to ServiceMix or ActiveMQ) is down, the
JMS service unit in my assembly will not start.  When the queue is
available, it never tries to fire back up.

What is the best way to configure things in either ServiceMix or ActiveMQ to
retry in case of connection issues either during the startup or running of
ServiceMix?  I'm thinking about trying the bridging capabilities of
ActiveMQ, but I'm not sure if that will get me any closer to what I'm
looking for.

Any advice would be helpful.

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/Auto-%28re%29connect-of-JMS-Queue-tp15229739s12049p15229739.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Auto-(re)connect of JMS Queue

Posted by C Watson <dr...@dreamcove.com>.
Thanks a lot.  I'll give both a try.



bsnyder wrote:
> 
> On Feb 1, 2008 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> If you use the new JMS endpoints, they should auto reconnect
>> (it may depend on the cache level / jms provider though).
>> Also, ActiveMQ supports the failover: protocol which will auto
>> reconnect seamlessly.
> 
> See the following document for information on the new servicemix-jms
> endpoints:
> 
> http://servicemix.apache.org/servicemix-jms-new-endpoints.html
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
> 
> Blog: http://bruceblog.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/Auto-%28re%29connect-of-JMS-Queue-tp15229739s12049p15231641.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Auto-(re)connect of JMS Queue

Posted by Bruce Snyder <br...@gmail.com>.
On Feb 1, 2008 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> If you use the new JMS endpoints, they should auto reconnect
> (it may depend on the cache level / jms provider though).
> Also, ActiveMQ supports the failover: protocol which will auto
> reconnect seamlessly.

See the following document for information on the new servicemix-jms endpoints:

http://servicemix.apache.org/servicemix-jms-new-endpoints.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Auto-(re)connect of JMS Queue

Posted by Guillaume Nodet <gn...@gmail.com>.
If you use the new JMS endpoints, they should auto reconnect
(it may depend on the cache level / jms provider though).
Also, ActiveMQ supports the failover: protocol which will auto
reconnect seamlessly.

On Feb 1, 2008 5:12 PM, C Watson <dr...@dreamcove.com> wrote:
>
> I have the need to subscribe to multiple external queues in my service
> assembly.  The other queues are from clients.  As such, I'm not in control
> of when queues and up or down.  During some proof-of-concept testing, I
> noticed that if an external queue (to ServiceMix or ActiveMQ) is down, the
> JMS service unit in my assembly will not start.  When the queue is
> available, it never tries to fire back up.
>
> What is the best way to configure things in either ServiceMix or ActiveMQ to
> retry in case of connection issues either during the startup or running of
> ServiceMix?  I'm thinking about trying the bridging capabilities of
> ActiveMQ, but I'm not sure if that will get me any closer to what I'm
> looking for.
>
> Any advice would be helpful.
>
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/Auto-%28re%29connect-of-JMS-Queue-tp15229739s12049p15229739.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/