[XPaaS] AMQ ignore the value of maxReconnectAttempts in the network connector URI

Solution Verified - Updated -

Issue

  • When we set a value for maxReconnectAttempts using the environment variable AMQ_MESH_QUERY_INTERVAL, this has no effect:

    oc set env dc/broker-amq 'AMQ_MESH_QUERY_INTERVAL=30\&maxReconnectAttempts=0'
    oc set env dc/broker-drainer 'AMQ_MESH_QUERY_INTERVAL=30&maxReconnectAttempts=0'
    

Environment

  • Red Hat AMQ (AMQ) 6.3.0
  • OpenShift 3
  • Image: jboss-amq-6/amq63-openshift:1.3

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