Create a JMS activity
-
- UpdatedFeb 1, 2024
- 5 minutes to read
- Washington DC
- Orchestration
Create a custom JMS activity to retrieve or send messages to external systems using the Java Messaging Service.
Before you begin
Role required: activity_creator or workflow_admin
About this task
- Using JNDI to find a ConnectionFactory object.
- Using JNDI to find one or more destination objects.
- Using the ConnectionFactory to create a JMS connection object.
- Using the JMS connection to create one or more JMS session objects.
- Using a JMS session and the destinations to create the MessageProducer and MessageConsumer objects.
- Starting the JMS connection to enable delivery or consumption of messages.
Procedure
What to do next
- Use auto-mapping to generate outputs and parsing rules
- If you do not use auto-mapping, you can manually create output variables and create parsing rules
Create a JMS connection for an Orchestration activity
Configure your system to use Java Messaging Service (JMS) with a custom Orchestration JMS activity.
Before you begin
Role required: admin
About this task
The MID Server must have the correct JMS connection factories for your organization. Configure those values in the mid.property.jms.command.allowed_factory_names property, found in . The default values for this property can be changed to any value or comma-separated list of values that the third-party JMS provider advertises.
Procedure
JMS template execution parameters
You use execution parameters to create the input process script in the Preprocessing form.
executionParam.
prefix with all variables in this
table.JMS template post-processing parameters
Use these parameters to create a post-processing script.