You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ubaid <ub...@aajtech.com> on 2018/04/13 12:27:30 UTC

ActiveMQ failover support for REST api

Hi,
We are using REST API to consume messages from AMQ, for the high
availability of AMQ we are using Master/Slave concept but we are unable to
use failover concept here with RESET API for consuming messages from AMQ.

*wget --user admin --password admin
http://localhost:8161/api/message?destination=queue://queue.Name*

Using this how we can make sure the failover support?





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ActiveMQ failover support for REST api

Posted by Tim Bain <tb...@alumni.duke.edu>.
The behavior of the failover transport is implemented in the ActiveMQ Java
(or .NET, or C++) client library, so you're not going to be able use it
with wget or similar tools. So if you're looking to use the REST API with
standard Linux command-line tools, you'll need to implement your own
failover logic.

Tim

On Fri, Apr 13, 2018, 6:27 AM ubaid <ub...@aajtech.com> wrote:

> Hi,
> We are using REST API to consume messages from AMQ, for the high
> availability of AMQ we are using Master/Slave concept but we are unable to
> use failover concept here with RESET API for consuming messages from AMQ.
>
> *wget --user admin --password admin
> http://localhost:8161/api/message?destination=queue://queue.Name*
>
> Using this how we can make sure the failover support?
>
>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>