-
Sep 14th, 2010, 05:13 AM
#1
Need listener for other queue events like onMessage
Hi,
i have situation where a timer job keeps pushing messages to queue. Assume size of queue is set to 20 and concurrent consumers are set to 5 and each process may take 2-3 minutes.
At some point queue will be full and timer job gets exception that Destination Queue is full.
Here i want to stop timer job, till number of messages in queue reaches some level say 10 in this case.
Can some help me with any listener, where it listen's to current messages in queue and invoke process when it reaches certain level ?
thanks in advance
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules