<receive>
Purpose/Function
Request/receive a single event. The first matching event from the time of calling this task on any of the underlying receiver connections is returned.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
maxTimeToTry |
|
0 |
non-zero value limits amount of time in milliseconds to wait for the event |
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:1 |
filter for the event |
ReturnValues
DEFAULT NAME |
TYPE |
---|---|
receivedEvent |
|
NOTES
See also LocalEvent, LocalEventFilter.
Examples
<ogrescript> <receive> <filter topic="TROLL"> <header-comparator> <property-comparator comparator="EQUALS"> <property name="component" value="master"/> </property-comparator> </header-comparator> </filter> </receive> </ogrescript>