How to avoid the WARN, 'Could not refresh JMS Connection for destination 'jms:myQueue - retrying in xxxx ms' on JBoss A-MQ restart ?

Solution Verified - Updated -

Issue

  • We are getting below error continously for all the routes defined in camel context. Please help in resolving the issue.
2014-04-22 09:19:07,116 | WARN  | ecuted.XXX] | faultJmsMessageListenerContainer | .DefaultMessageListenerContainer  888 | 144 - org.springframework.jms - 3.1.3.RELEASE | Could not refresh JMS Connection for destination 'abcs.xxx.MyQueue' - retrying in 5000 ms. Cause: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect
  • We are getting the WARN even after restarting the JBoss A-MQ. How can this WARN message be avoided ?

Environment

  • Red Hat JBoss A-MQ
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content