Reply (-REPLY)
Use the Reply adapter command (-REPLY) to specify the subject name to receive the confirmation message receipt (the reply). The Reply adapter command (-REPLY) is used on data targets only.
-REPLY reply_name
- Option
- Description
- reply_name
- This is the subject name of the reply message.
For example, to specify the tixrecv subject name for the data target messages, the syntax would be:
-SBN output_RCV -REPLY tixrecv
If a reply name is specified in the header information, the header information takes precedence over the Reply adapter command (-REPLY). The adapter assumes that the listener for the reply is operational and has established delivery tracking with the receiver of the output map message.
To implement a reply in a map receiving a message, use an input card to receive a message from a subject that has published a message using the Reply adapter command (-REPLY). Next, map the data object representing the header reply from an input card to the data object representing the header subject in an output card. Format the output to send the appropriate reply message. The presence of the subject in the header forces the adapter to publish the reply to the subject.