Apama Documentation : Developing Apama Applications : EPL Reference : Statements : Simple statements : The enqueue statement
The enqueue statement
The enqueue statement sends an event to the back of the input queue of each public context. The expression is evaluated and the resulting event is sent to all input queues of public contexts. If an input queue is full, then the enqueued event is saved on a temporary holding queue until the input queue has room for it. There is one temporary holding queue for all contexts. When an input queue is full, processing in the context that enqueued the event blocks until the enqueued event arrives on all public input queues.
Note that enqueued events are processed in the order they are enqueued.
The expression's result type must be an event type or string. When it is a string, the correlator parses it as an event.
Enqueued events are put on the back of the input queue, behind any externally sourced events already queued.
You cannot enqueue an event whose type is defined inside a monitor.
You cannot enqueue an event that has a field of type action, chunk, listener, or stream.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback