How to limit client reconnection attempts in JBoss EAP 7?

Solution Unverified - Updated -

Issue

  • Our application is running on JBoss EAP 7.1.1. We are using mule JMS Connector to drop a message to a JMS queue. We would expect the JMS client to give up reconnecting after a number of attempts should the JBoss EAP server goes offline. But it is not working as expected, the JMS client keeps on attempting to reconnect to the EAP server indefinitely. How can this be fixed?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

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