If authentication error occurs, there is no option for AMQP client to stop the retry using failover option
Issue
If authentication error occurs, AMQP client using failover option will keep retrying connection forever.
Also if wrong queue name was specified and the credential does not have an admin access permission for the dynamic queue, the same issue occurs.
I tried both option noted here(1) but does not work as expected.
- failover.maxReconnectAttempts
- failover.startupMaxReconnectAttempts
(1) https://qpid.apache.org/releases/qpid-jms-0.5.0/docs/index.html
Environment
- Red Hat JBoss Fuse
- 6.2.1
- Red Hat JBoss A-MQ
- 6.2.1
- AMQP Client
- 0.5.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.