Enabling or Disabling a JMS Trigger
You can enable or disable a JMS trigger.
Note: If you disable a SOAP-JMS trigger that acts as a listener for one or more provider web service descriptors, Integration Server will not retrieve any messages for those web service descriptors.
To enable or disable a JMS trigger
1. In the Package Navigator view of Designer, open the JMS trigger that you want to enable or disable.
2. In the Properties view, under General, set the Enabled property to one of the following:
Select... | To... |
True | Enable a JMS trigger that is currently disabled. |
False | Disable a JMS trigger that is currently enabled. |
3. Click File > Save.
Notes:
When you disable a JMS trigger,
Integration Server interrupts any server threads that are processing messages. If the JMS trigger is currently processing messages,
Integration Server waits 3 seconds before forcing the JMS trigger to stop processing messages. If it does not complete within 3 seconds,
Integration Server stops the message consumer used to receive messages for the JMS trigger and closes the JMS consumer. At this point the server thread for the JMS trigger may continue to run to completion. However, the JMS trigger will not be able to acknowledge the message when processing completes. If the message is persistent, this can lead to duplicate messages.
You can disable one or more JMS triggers using the
pub.triggers:disableJMSTriggers service.
You can enable one or more JMS triggers using the
pub.triggers:enableJMSTriggers service.
You can enable, disable, and suspend one or more JMS triggers using
Integration Server Administrator.
Related Topics