Integration Server 10.3 | JMS Client Development Guide | Building a Document Resolver Service | Service Requirements
 
Service Requirements
The document resolver service must do the following:
*Use pub.jms:documentResolverSpec as the service signature if the service is for a JMS trigger. Use pub.publish:documentResolverSpec as the service signature if the service is for a webMethods messaging trigger. Integration Server passes the document resolver service values for each of the variables declared in the input signature. Integration Server passes the document resolver service values for each of the variables declared in the input signature.
*Return a status of NEW, DUPLICATE, or IN_DOUBT. Integration Server uses the status to determine whether or not to process the message.
*Catch and handle any exceptions that might occur, including an ISRuntimeException. For information about how Integration Server proceeds with duplicate detection when an exception occurs, see Document Resolver Service for a JMS Trigger and Document Resolver Service and Exceptions for a JMS Trigger.
*Determine how far message processing progressed. If necessary, the document resolver service can issue compensating transactions to reverse the effects of a partially completed transaction.