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

  1. Open the Applications Manager and select the application that you want.
  2. 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.
  3. Select the desired tab, then Base Document Type, then double-click Process Type.
  4. Double-click the transaction that corresponds to the agent to be run.
  5. Select the Time Triggered tab.
  6. Create or select an existing Agent Criteria Definition to edit.
  7. The Agent Criteria Details screen is displayed. Select the Runtime Properties tab.
  8. Select an existing Agent Server from the list or create your own (recommended).
  9. Select an existing Alert Queue from the list or create your own.
  10. In the JMS Queue Name field, enter the JNDI name for the queue that you created. See Prerequisites.
  11. 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).
  12. Select the Initial Context Factory code you created. See Create an initial context factory code.
  13. 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.
  14. Enter the Provider URL. This is the location where the JMS system resides, and is JMS vendor specific.
  15. 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).
  16. See Setting up the JMS Security Properties for information about setting the JMS Security option.
  17. Leave the Criteria Parameters tab values at the default values.
  18. Save the Agent Criteria Details and close the window.
  19. 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.