JMS (Magic xpi 4.7)
The Java Message Service (JMS) is a Java API that allows applications to send and receive messages. The Magic xpi JMS component lets you access a JMS-compliant messaging server where you can execute messaging queue operations using the JMS API. The JMS topics explain how you can use the JMS component in your integration project.
![](/PublicKnowledge/servlet/rtaImage?eid=ka2D0000000TqTW&feoid=00ND0000005rAjf&refid=0EMD0000000KPXL)
|
To use the JMS component, you must have the J2EE and JDK Client/Server products installed on your system. You need to connect to the JMS server from a stand-alone Java class using the Java Naming and Directory Interface (JNDI). The same parameters and Jars that are used in the stand-alone class can also be used for the Magic xpi JMS configuration.
|
When you use the JMS component as a step in a flow, you can select various methods that let you:
-
Open or close queues.
-
Send or get messages.
In Trigger mode, the component constantly checks for regular incoming messages or published messages in the specified queue. If a new message is found then the component fetches the message and triggers the flow.
You must provide the component with the following information:
This information is necessary for Magic xpi to interface with the correct JMS messaging queue.
About the JMS Component
JMS – Configuration
JMS – Error Codes
How Do I Configure the JMS Component to Work with Apache ActiveMQ?