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 a new agent criteria definition or select an existing definition and save it as a new definition. Edit the new definition that you created.
    Note: Do not edit an existing agent criteria definition.
  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. Use the 'Add Queue' Self Serve process to create queues in IBM® Sterling™ Order Management System and provide the queue name.
  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 as "File". See Create an initial context factory code.
  13. Enter AGENT_QCF as the value for Connection Factory. See Prerequisites.
  14. Enter the following value for the Provider URL.

    Legacy platformfile:/opt/SSFS_9.5/runtime/OM_JNDI

    Next-generation platformfile:/opt/ssfs/jndi

  15. Select whether the agent should trigger itself (recommended) and at what interval (in minutes).
  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. For more information, see Managing the agent and integration servers.

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.