Previous Topic

Next Topic

Book Contents

Book Index

Control-M Messaging API administration

This section describes how to prepare and send Control-M/EM API messages to a message queue that interact with Control-M/EM. You can either create an XML message yourself, or use provided XML generator classes, located on the CD. Also described is how to receive and handle message replies. The received message can either be handled using the XML generator classes or code that you have written yourself. For more information about requests, responses, error codes and exceptions see Control-M API.

NOTE: The full working program can be found on the CD. Examples on the CD are provided and should be run using similar commands to the following:

java -cp <path to example classes>;<path to

emapiXMLgenerator.jar>;<path to jbossall-client.jar>

-Ddata_center="CTM1" -Dprovider_url="jnp://jboss_host:1099/"

-Ddest_queue="queue/C" -Dresp_queue="queue/D"

com.bmc.emmsgapi.examples.CreateJob_example

The following procedures describe how to start and stop Control-M for Messaging API, how to create and send a message and handle replies with examples and configure SSL.

Parent Topic

Control-M Web Services and Messaging API