The JMS transaction timeouts are configured on each virtual host defined in the XML configuration files.
The default values for each of the parameters is 0, indicating that the particular check is disabled.
Any or all of the parameters can be set, using the desired value in milliseconds, and will be checked each time the housekeeping process runs, usually set to run every 30 seconds in standard configuration. The meaning of each property is as follows:
openWarn - the time a transaction can be open for (with activity occurring on it) after which a warning alert will be issued.
openClose - the time a transaction can be open for before the connection it is on is closed.
idleWarn - the time a transaction can be idle for (with no activity occurring on it) after which a warning alert will be issued.
idleClose - the time a transaction can be idle for before the connection it is on is closed.
The virtualhosts configuration is shown below, and must occur inside the //virtualhosts/virtualhost/name/ elements:
Example 14.16. Configuring producer transaction timeout
<transactionTimeout> <openWarn>10000</openWarn> <openClose>20000</openClose> <idleWarn>5000</idleWarn> <idleClose>15000</idleClose> </transactionTimeout>
Apache Qpid, Messaging built on AMQP; Copyright © 2013 The Apache Software Foundation; Licensed under the Apache License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, Proton, Apache, the Apache feather logo, and the Apache Qpid project logo are trademarks of The Apache Software Foundation; All other marks mentioned may be trademarks or registered trademarks of their respective owners