Define the transaction information
About this task
For the JMS server to communicate with the application, there must be a time-triggered transaction configured with the JMS server and ICF information.
Procedure
- Open the Applications Manager and select the application that you want.
- Open the Applications Manager. From the tree in the application rules side panel, double-click Process Modeling. The Process Modeling window displays in the work area.
- Select the desired tab, then Base Document Type, then double-click Process Type.
- Double-click the transaction that corresponds to the agent to be run.
- Select the Time Triggered tab.
- Create or select an existing Agent Criteria Definition to edit.
- The Agent Criteria Details screen is displayed. Select the Runtime Properties tab.
- Select an existing Agent Server from the list or create your own (recommended).
- Select an existing Alert Queue from the list or create your own.
- In the JMS Queue Name field, enter the JNDI name for the queue that you created. See Prerequisites.
- Enter the desired number of threads the agent should run (recommended not to exceed 5 threads - if more than 5 are needed, start another agent in its own JVM).
- Select the Initial Context Factory code you created. See Create an initial context factory code.
- In the Connection Factory field, enter the JNDI connection factory for the queue that you created (this is the Connection Factory created for the applicable JMS Server). See Prerequisites.
- Enter the Provider URL. This is the location where the JMS system resides, and is JMS vendor specific.
- Select whether the agent should trigger itself (recommended) and at what interval (in minutes) or use an external trigger (triggeragent.sh in the <install_dir>/install/bin directory).
- See Setting up the JMS Security Properties for information about setting the JMS Security option.
- Leave the Criteria Parameters tab values at the default values.
- Save the Agent Criteria Details and close the window.
- Launch the agent in its own JVM by executing the startagentserver.sh/cmd script in the <install_dir>/install/bin directory.
Results
For additional information about defining transactions and about this procedure, see the sections Defining Transactions and Specifying a Transaction as Time-Triggered in the Organization and Participant Modeling Concepts topic.