You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by bryand <br...@bldixon.net> on 2018/02/14 20:22:07 UTC

Not sure how to use failover_exchange

I'm using qpid-broker-j-7.0.1, qpid-jms-amqp-0-x-6.3.0 and JDK 1.8. 

I have HA setup for broker-j and have been using failover of roundrobin for
my client connections and that's been working fine.  I was wanting to see
the difference when using failover_exchange though.  When I try that I get
these message from Qpid:

2018-02-14 15:09:17,909 [10.1.1.119:5682] - ERROR AMQConnection                 
- Throwable Received but no listener set: org.apache.qpid.AMQException: ch=0
id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0,
description=not-found: exchange-name 'amq.failover') [error code: 404(not
found)]
2018-02-14 15:09:17,912 [main           ] - ERROR AMQConnection                 
- Throwable Received but no listener set: org.apache.qpid.AMQException: ch=0
id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0,
description=not-found: exchange-name 'amq.failover') [error code: 404(not
found)]

It seems like I need to create an exchange (in each broker?) called
amq.failover?   I can't find anything in the broker-j or jms client doc that
talks about how to do it.  I tried to create it via the web admin console
but it wouldn't let me get far because it has a '.' in the exchange name and
it gives me an error about the dot being in the name.



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: Not sure how to use failover_exchange

Posted by Rob Godfrey <ro...@gmail.com>.
Hi Bryan,

Qpid Broker-J does not currently implement the failover exchange, the only
way to achieve failover reconnection to a different broker is by
configuring the clients

-- Rob

On 14 February 2018 at 21:22, bryand <br...@bldixon.net> wrote:

> I'm using qpid-broker-j-7.0.1, qpid-jms-amqp-0-x-6.3.0 and JDK 1.8.
>
> I have HA setup for broker-j and have been using failover of roundrobin for
> my client connections and that's been working fine.  I was wanting to see
> the difference when using failover_exchange though.  When I try that I get
> these message from Qpid:
>
> 2018-02-14 15:09:17,909 [10.1.1.119:5682] - ERROR AMQConnection
> - Throwable Received but no listener set: org.apache.qpid.AMQException:
> ch=0
> id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0,
> description=not-found: exchange-name 'amq.failover') [error code: 404(not
> found)]
> 2018-02-14 15:09:17,912 [main           ] - ERROR AMQConnection
> - Throwable Received but no listener set: org.apache.qpid.AMQException:
> ch=0
> id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0,
> description=not-found: exchange-name 'amq.failover') [error code: 404(not
> found)]
>
> It seems like I need to create an exchange (in each broker?) called
> amq.failover?   I can't find anything in the broker-j or jms client doc
> that
> talks about how to do it.  I tried to create it via the web admin console
> but it wouldn't let me get far because it has a '.' in the exchange name
> and
> it gives me an error about the dot being in the name.
>
>
>
> --
> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-
> f2158936.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>