File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I control dequeueing speed in jboss?

Luca Zitto
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have an application that uses JMS. Items are put on a queue and read from the queue in the same application. Now I need to introduce a sort of controlled rate when reading msgs from the queue.
Basically I need either:
a) ensure that there is a given time between dequeueing an item and dequeueing the next one
b) ensure that speed of dequeueing does not exceed a given rate (for instance one message per second)

Can anyone suggest how to achieve this? I have some ideas but they don't sound very good even to myself!
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic