The following example illustrates the required functionality across the TCP interface.
All messages across the TCP interface contain a Message ID which identifies the mail being processed. In the example below, an application sends an External Agent request (WGNMSG_EXTERNALAGENT_REQ, with Message ID 123 to the Socket Agent.
Example: TCP communications for message processing
The Socket Agent processes the request and returns a message (WGNMSG_EXTERNALAGENT RSP) with the same Message ID containing an XML processing result. The External Agent Completion and the corresponding External Agent response only occur when deferred completion is requested.
A Socket Agent Response message is returned when the Socket Agent determines that the message contains invalid data. The full error message may be found in the Socket Agent log.
The conversation is terminated without a response if the Distributor or Socket Agent receives a message containing an invalid major schema. The full error message may be found in the Distributor log.
Copyright © 2014 CA.
All rights reserved.
|
|