Integration Server 10.3 | Built-In Services Reference Guide | JMS Folder | Summary of Elements in This Folder | pub.jms:documentResolverSpec
 
pub.jms:documentResolverSpec
WmPublic. Specification for the signature of a document resolver service that determines whether a JMS message has a status of New, Duplicate, or In Doubt.
Input Parameters
uuid
String Universally unique identifier for the message. If the sending client assigned a value to the uuid field in the message, Integration Server uses the uuid value to identify the message. If the uuid field is empty, Integration Server uses the value of the JMSMessageID field in the message header as the UUID.
triggerName
String The name of the JMS trigger that received the message whose status needs to be resolved.
JMSMessage
Document The message whose status needs to be resolved. This is a document reference (IData) to the pub.jms:JMSMessage document type, which defines the structure of a JMS message.
Output Parameters
status
String Indicates the status of the message. The value of this field determines whether the Integration Server processes or rejects the message. The status field will have one of the following values:
*NEW indicates that the message is new and has not been processed by the JMS trigger. Integration Server instructs the JMS trigger to process the message.
*DUPLICATE indicates that the message is a duplicate of one already processed by the JMS trigger. Integration Server acknowledges the message, but does not execute the trigger service.
*IN_DOUBT indicates that the status of the message is still in doubt. The document resolver service could not conclusively determine whether the JMS trigger already processed the message. Integration Server acknowledges the message, but does not execute the trigger service.
message
String Conditional. A user-specified string that indicates why the message status is DUPLICATE or IN_DOUBT. Integration Server writes this message to the journal log when the message has a status of DUPLICATE or IN_DOUBT.
Usage Notes
The pub.jms:documentResolverSpec must be used as the signature for a document resolver service used to determine the processing status of a JMS message received by a JMS trigger. For information about building a document resolver service and enabling exactly once processing for a JMS message, see Using webMethods Integration Server to Build a Client for JMS.
Use pub.publish:documentResolverSpec as the signature for a document resolver service used to determine the status of document received a webMethods messaging trigger.
See Also
pub.jms:JMSMessage
pub.publish:documentResolverSpec