-
1. Re: How to configure connection-ttl and client-failure-check-period in JBoss as 7
jbertram Dec 24, 2012 11:41 PM (in response to ohmygod)You set can set those on the connection factory. Look at the messaging schema in <JBOSS_HOME>/docs/schema and you'll see where they go.
-
2. Re: How to configure connection-ttl and client-failure-check-period in JBoss as 7
ohmygod Dec 25, 2012 12:52 AM (in response to jbertram)Hi Justin,
There are several connection factories under <jms-connection-factories>. The factory my project is using is the entry "<entry name="java:jboss/exported/jms/JMSConnectionFactory"/>" under RemoteConnectionFactory. So what I am not sure is where to define the two options "connecion-ttl" and "client-failure-check-period" to make them effective in my project, under "<connection-factory name="RemoteConnectionFactory">", or under "<pooled-connection-factory name="hornetq-ra">"?
<jms-connection-factories> <connection-factory name="InVmConnectionFactory"> <connectors> <connector-ref connector-name="in-vm"/> </connectors> <entries> <entry name="java:/ConnectionFactory"/> </entries> </connection-factory> <connection-factory name="RemoteConnectionFactory"> <connectors> <connector-ref connector-name="netty"/> </connectors> <entries> <entry name="RemoteConnectionFactory"/> <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/> <entry name="JMSConnectionFactory"/> <entry name="java:jboss/exported/jms/JMSConnectionFactory"/> </entries> </connection-factory> <pooled-connection-factory name="hornetq-ra"> <transaction mode="xa"/> <connectors> <connector-ref connector-name="in-vm"/> </connectors> <entries> <entry name="java:/JmsXA"/> </entries> </pooled-connection-factory> </jms-connection-factories>
-
3. Re: How to configure connection-ttl and client-failure-check-period in JBoss as 7
jbertram Jan 2, 2013 3:06 PM (in response to ohmygod)If your clients are using a connection factory bound at "java:jboss/exported/jms/JMSConnectionFactory" then you would change the <connection-factory> which has that entry.
-
4. Re: How to configure connection-ttl and client-failure-check-period in JBoss as 7
spolti Nov 27, 2013 1:56 PM (in response to ohmygod)1 of 1 people found this helpfulHere is a example for connection-ttl:
<connection-factory name="InVmConnectionFactory"> <connectors> <connector-ref connector-name="in-vm"/> </connectors> <entries> <entry name="java:/ConnectionFactory"/> </entries> <connection-ttl>-1</connection-ttl> </connection-factory>