Creating and sending a Control-M/EM API message
All communication details with Control-M/EM are handled by the Control-M for Messaging API. This is defined according to the Account Management Utility.
For more information, see Control-M Messaging API account management .
To create a Control-M/EM API message:
Create a Java program that includes the following:Create a connection with the Message Queue defined in the Account Management utility. Create a Control-M/EM API XML message or using the XML generator library, as described in the Javadoc located on the DVD. Specify the expiration time for your outgoing message. Specify the correlation ID , if you require a reply message. Specify the replyTo attribute of the outgoing message, if you want to override the default reply queue specified in the Account Management utility. Send the message to the queue, as defined in the Account Management utility. Listens to the reply queue, if you require a reply message. For more information, see Handling Message replies .