Integration Server 10.3 | Built-In Services Reference Guide | Publish Folder | Summary of Elements in this Folder | pub.publish:documentResolverSpec
 
pub.publish:documentResolverSpec
WmPublic. Specification for the signature of a service that determines whether a document's status is New, Duplicate, or In Doubt.
Input Parameters
documentTypeName
String Fully qualified name of the document whose status is In Doubt.
redeliveryCount
String Number of times the document has been redelivered to the trigger queue on the Integration Server.
uuid
String Universally unique identifier for the document. The publishing application assigns the uuid to a document.
document
Document The document (IData object) whose status needs to be resolved. This document must conform to the publishable document type specified in documentTypeName.
transport
String The transport (such as LOCAL, BROKER, or UM) used to send the document to the Integration Server.
triggerName
String The name of the webMethods messaging trigger that received the document whose status needs to be resolved.
Output Parameters
status
String Indicates the status of the document. The value of this field determines whether the Integration Server processes the document, discards the document, or sends the document to the audit log. The status field must have one of the following values.
*NEW indicates that the document is new and has not been processed by the trigger. Integration Server instructs the trigger to process the document.
*DUPLICATE indicates that the document is a duplicate of one already processed by the trigger. Integration Server discards the document and generates a journal log message.
*IN_DOUBT indicates that the status of the document is still in doubt. The document resolver service could not conclusively determine whether the trigger already processed the document. If the audit log is a database, the audit subsystem logs the document and the Integration Server generates a journal log message.
message
String Conditional. A user-specified string that indicates why the document status is DUPLICATE or IN_DOUBT. Integration Server writes the message to the journal log when the server discards the document or routes it to the audit log.
Usage Notes
The pub.publish:documentResolverSpec must be used as the signature for any service used to resolve the processing status of a document. For information about building a document resolver service and enabling exactly once processing for a webMethods messaging trigger, see the Publish-Subscribe Developer’s Guide.
Use the pub.jms:documentResolverSpec as the signature for a document resolver service used to determine the status of a JMS message received by a JMS trigger.
See Also
pub.jms:documentResolverSpec