Schedulable Queue Manager Jobs

Overview

The Queue Manager registers jobs in job group "Queue Manager" at the Scheduler Swiftlet:

These jobs can be scheduled via the Scheduler Swiftlet to run at specific times or in intervals, based on calenders and so on.

Queue Cleanup

The Queue Cleanup job removes expired messages from queues. The queues are determined from a single parameter which contains a SQL-Like predicate. For example, a predicate of "tmp$%" performs a cleanup on all temporary queues, "rt$%" on all routing queues, "test%" on all queues starting with "test" like testqueue and so on. The Queue Cleanup job provides more flexibility than to use the interval-based cleanup processes. Keep in mind that you should set the cleanup intervals (default or per queue) to 0 if you use the Queue Cleanup job.

Parameter Mandatory Description
Queue Name Predicate Yes SQL-Like predicate to select queue names

Queue Cleanup DLQ

This job works like the Queue Cleanup job except that it moves expired messages to the router's deadletter queue "routerdlq" for further processing.

Parameter Mandatory Description
Queue Name Predicate Yes SQL-Like predicate to select queue names

Queue Mover

The Queue Mover job moves messages from a source queue to a target queue. The target queue may reside on a remote router. An optional message selector can be specified to select messages on base of JMS properties out of the source queue. This job is excellent for tasks like end of day processing to move all unprocessed messages to a queue on another router for further processing.

Parameter Mandatory Description
Source Queue Yes Name of the source queue
Target Queue Yes Name of the target queue
Message Selector No Optional SQL92 message selector

Queue Purger

The Queue Purger job removes messages from a single queue, optionally based on a message selector.

Parameter Mandatory Description
Queue Name Yes Queue name
Message Selector No Optional SQL92 message selector

Multi Queue Purger

The Multi Queue Purger job removes messages from multiple queues, optionally based on a message selector. Use this job carefully!

Parameter Mandatory Description
Queue Name Predicate Yes SQL-Like predicate to select queue names
Message Selector No Optional SQL92 message selector

Queue Reset

The Queue Reset job resets the consumed/produced message counter on the matching queues to zero. This can be used e.g. to reset the counters every day on midnight to get daily counts.

Parameter Mandatory Description
Queue Name Predicate Yes SQL-Like predicate to select queue names