Apama 10.15.0 | Connecting Apama Applications to External Components | Correlator-Integrated Support for the Java Message Service (JMS) | Using the Java Message Service (JMS) | Getting started with simple correlator-integrated messaging for JMS
 
Getting started with simple correlator-integrated messaging for JMS
 
Adding and configuring connections
Adding JMS receivers
Adding a classpath variable entry
Configuring sender event mappings
Using EPL to send and receive JMS messages
This section describes the steps for creating an Apama application that uses correlator-integrated messaging for JMS where guaranteed delivery is not required. Apama provides an example application in Software AG Designer that illustrates a simple use of correlator-integrated messaging for JMS in the APAMA_HOME\samples\correlator_jms\simple-send-receive directory.
*To make correlator-integrated messaging for JMS available to an Apama project
1. From the File menu, choose New > Apama Project. This launches the New Apama Project wizard.
2. In the New Apama Project wizard, give the project a name, and click Next. The second page of the wizard appears, listing the available Apama resource bundles.
3. Apama's correlator-integrated messaging for JMS makes use of the Apama correlator-integrated adapter for JMS. From the Select required bundle instances list box, select the JMS (Correlator-integrated support for the Java Message Service) bundle.
4. Click Finish.
The correlator-integrated adapter for JMS is added to the project's Connectivity and Adapters node. In addition, all the necessary resources to support correlator-integrated messaging for JMS are generated. Note, you can only add a single instance of the correlator-integrated messaging adapter for JMS to an Apama project.
After you add the correlator-integrated adapter for JMS, you need to configure connections to a JMS broker and configure senders and receivers.