Oracle Workflow Guide Release 2.6.2 Part Number A95265-03 |
Contents | Index | Glossary | Master Index | Feedback |
procedure Listen
(p_agent_name in varchar2);
Description
Monitors an agent for inbound event messages and dequeues messages using the agent's queue handler.
When an event is dequeued, the Event Manager searches for and executes any active subscriptions by the local system to that event with a source type of External, and also any active subscriptions by the local system to the Any event with a source type of External. If no active subscriptions exist for the event that was received (apart from subscriptions to the Any event), then Oracle Workflow executes any active subscriptions by the local system to the Unexpected event with a source type of External.
The Listen procedure exits after all event messages on the agent's queue have been dequeued.
Note: You can use the Check Setup web page to schedule Listen procedures for all active inbound and error queues. See: Scheduling Listeners for Local Inbound Agents.
Note: If you are using the standalone version of Oracle Workflow available with Oracle9i Release 2, you can use the standalone Oracle Workflow Manager component available through Oracle Enterprise Manager to submit and manage Workflow agent listener database jobs. For more information, please refer to the Oracle Workflow Manager online help.
Arguments (input)
p_agent_name | The name of the inbound agent. |
Standard APIs for a Queue Handler
Previous | Next | Contents | Index | Glossary |