You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cngamer <bl...@gmail.com> on 2013/12/13 10:18:30 UTC

[ActiveMQ]How to setup fault-tolerant consumer node?

I have a consumer node that consumes messages from a ActiveMQ topic server,
and I want to add a backup consumer node in case the primary consumer node
is down. But how to setup these two consumer nodes to make them work
together?



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-setup-fault-tolerant-consumer-node-tp4675516.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [ActiveMQ]How to setup fault-tolerant consumer node?

Posted by bizcenter <bi...@gmail.com>.
hi:
    What you want:
    1. consumer node just consume message once
    2. consumer node is in cluster
    am i right?

    you should have a look at VirtualTopic
http://activemq.apache.org/virtual-destinations.html


On Fri, Dec 13, 2013 at 5:23 PM, rajdavies [via ActiveMQ] <
ml-node+s2283324n4675517h45@n4.nabble.com> wrote:

> Probably the easiest thing to do would be to use exclusive consumers - see
> http://activemq.apache.org/exclusive-consumer.html
>
> On 13 Dec 2013, at 09:18, cngamer <[hidden email]<http://user/SendEmail.jtp?type=node&node=4675517&i=0>>
> wrote:
>
> > I have a consumer node that consumes messages from a ActiveMQ topic
> server,
> > and I want to add a backup consumer node in case the primary consumer
> node
> > is down. But how to setup these two consumer nodes to make them work
> > together?
> >
> >
> >
> > --
> > View this message in context:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-setup-fault-tolerant-consumer-node-tp4675516.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
> Rob Davies
> ————————
> Red Hat, Inc
> http://hawt.io - #dontcha
> Twitter: rajdavies
> Blog: http://rajdavies.blogspot.com
> ActiveMQ in Action: http://www.manning.com/snyder/
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-setup-fault-tolerant-consumer-node-tp4675516p4675517.html
>  To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805h73@n4.nabble.com
> To unsubscribe from ActiveMQ, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341804&code=Yml6Y2VudGVybmV0QGdtYWlsLmNvbXwyMzQxODA0fC02NTk4MzI2MTg=>
> .
> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-setup-fault-tolerant-consumer-node-tp4675516p4675678.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [ActiveMQ]How to setup fault-tolerant consumer node?

Posted by Robert Davies <ra...@gmail.com>.
Probably the easiest thing to do would be to use exclusive consumers - see http://activemq.apache.org/exclusive-consumer.html

On 13 Dec 2013, at 09:18, cngamer <bl...@gmail.com> wrote:

> I have a consumer node that consumes messages from a ActiveMQ topic server,
> and I want to add a backup consumer node in case the primary consumer node
> is down. But how to setup these two consumer nodes to make them work
> together?
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-setup-fault-tolerant-consumer-node-tp4675516.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Rob Davies
————————
Red Hat, Inc
http://hawt.io - #dontcha
Twitter: rajdavies
Blog: http://rajdavies.blogspot.com
ActiveMQ in Action: http://www.manning.com/snyder/