I have had that same problem before in my previous company. We did kind of a hack at that time.
So short answer, there is nothing available to control the consuming rate. -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Tue, Feb 26, 2019 at 5:53 PM Jonathan Gallimore < jonathan.gallim...@gmail.com> wrote: > You're consuming messages too quickly? Sounds like a good problem to have > :). I'm not aware of a rate limit facility in the connector code. You can > tweak the MDB pool to have less concurrency, and lower throughput as a > result. There was a change I made with Ivan to provide the same sort of > pooling we have for stateless beans for MDBs. Specifically that was for > Websphere MQ which doesn't pool endpoints. > > I don't know if individual connectors themselves have the capability you're > after. In an ideal world, how would you see a rate limit working and being > configured? > > Jon > > On Tue, Feb 26, 2019 at 4:44 PM exabrial12 <exabr...@gmail.com> wrote: > > > Here's a problem I never thought I'd have... we need to rate limit the > rate > > and which we process a message queue. > > > > Is there a facility in TomEE to do this? I looked around the MDB dispatch > > code and didn't see anything specifically. > > > > Thanks, > > -Jonathan > > > > > > > > -- > > Sent from: > > http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html > > >