How do I adjust the connection-ttl in EAP 6?

Solution Verified - Updated -

Issue

In EAP 5.x, I could adjust the connection-ttl on the client side or the server side using the following methods:

On the client side

Specify the ConnectionTTL attribute on a HornetQConnectionFactory instance <JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/jms-ra.rar/META-INF/ra.xml.

On the server side where connection factory instances are being deployed directly into JNDI

Specify the connection-ttl parameter for the <connection-factory> directive in the JBOSS_DIST/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-jms.xml file.

  • How do I adjust this in EAP 6?

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.