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, 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