Designer 10.7 | webMethods Service Development Help | Properties | JMS Trigger Properties | Transient Error Handling with a Transacted JMS Trigger
 
Transient Error Handling with a Transacted JMS Trigger
When building a trigger, you can specify what action Integration Server takes when the trigger service fails because of a transient error caused by a run-time exception. That is, you can specify whether or not Integration Server should retry the trigger.
In the Properties view, under Transient error handling, you specify whether or not Integration Server should retry the trigger.
Property
Description
On transaction rollback
Indicates how Integration Server handles a transient error that occurs during service execution, resulting in the entire transaction being rolled back.
Select...
To...
Recover only
Indicate Integration Server recovers the message back to the JMS provider. Integration Server receives the message again almost immediately.
This is the default.
Suspend and recover
Indicate that Integration Server suspends the JMS trigger and then recovers the message back to the JMS provider. Integration Server executes the trigger service at a later time when the resources needed by the trigger service become available.
Resource monitoring service
Specifies the service that Integration Server executes to determine whether the resources needed by the JMS trigger are available and if the trigger can be resumed. Integration Server schedules a system task to execute the resource monitoring service when one of the following occurs:
*The trigger service ends because of a retry failure and the On retry failure property is set to Suspend and retry later.
*The trigger service is part of a transacted JMS trigger and the On transaction rollback property is set to Suspend and recover.
*The document resolver service used for exactly-once processing ends because of a run-time exception and the watt.server.trigger.preprocess.suspendAndRetryOnError is set to true.
Note:
A resource monitoring service must use the pub.trigger:resourceMonitoringSpec as the service signature.