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 <ubaid.has...@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 >