Message collectors in Rhapsody allow multiple messages to be grouped together for processing through a filter. Messages are placed in a collector by the normal route execution threads, and in normal circumstances a collection is completed at some point in time, after which all the messages are processed through the filter simultaneously by the route execution thread.
Message collectors support the concept of a timeout. When a timeout occurs, all messages in the same bucket are released even though a collection is not complete. The timeouts are triggered by a scheduled task that polls for timeouts at regular intervals. When a timeout occurs, it retrieves the relevant messages, and either sends them to the next location individually (if the error or no-match output was selected), or alternatively sends those messages through the filter. Consequently, it is possible for a task scheduler thread to become stuck inside a filter.
Field/Action |
Description |
---|---|
Thread Name |
The internal thread name. |
State |
The thread state, which differs depending on the thread type. Collector threads can have the following states:
|
Route |
The route the thread is currently running on. This is a hyperlink, or blank if the thread is not currently processing on any particular route. |
Filter |
The filter the thread is currently running on. This is a hyperlink, orblank if the thread is not currently processing on any particular filter. |
Time in State |
The amount of time the thread has been in its current state.
|
Thread Actions |
|