activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
Subject Using interceptors and delays to implement throttling.
Date Thu, 29 May 2014 18:03:30 GMT
I have a standard producer/consumer model with N consumers listening on

One of the problems we have is that some of our resources are constrained.
 We don't want to fetch them too often so we throttle them.

We're migrating to activemq and need this feature to switch over.

I'm thinking about using interceptors and delays to implement throttling.

Essentially, every time I receive a message, I can look at the message,
from the message data, I can compute a delay, then insert it into the queue.

Does this seem like a reasonable strategy? Os is there a better model?



Location: *San Francisco, CA*
Skype: *burtonator*
… or check out my Google+ profile
War is peace. Freedom is slavery. Ignorance is strength. Corporations are

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message