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 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.
- 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.
- Use the 'Add Queue' Self
Serve process to create queues in IBM® Sterling™ Order Management System and provide the queue
name.
- 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 as "File". See Create an initial context factory code.
-
Enter AGENT_QCF as the value for Connection
Factory. See Prerequisites.
- Enter
the following value for the Provider URL.
file:/opt/SSFS_9.5/runtime/OM_JNDI
file:/opt/ssfs/jndi
- Select whether the agent should trigger itself (recommended) and at what
interval (in minutes).
- 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. 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.