|
Is there a way that I can temporarily stop the
delivery of messages from a queue to a MDB (programatically or otherwise)? Let's
say the queue is 1000 messages deep, but for some reason I don't want to process
any of those messages until later. I want the queue to remain available to
receive new messages, but I don't want those messages dispatched to the
MDB.
I'm guessing I need to do something with the
JBossMQProvider, but I don't see what. There seems to be no effect if I
stop JBossMQProvider in the JMX Agent View - messages can still be sent from
clients and they're still delivered to the appropriate MDB. Stopping JBossMQ in
the Agent View seems to do what I want, but I can't figure out how to restart it
(start and init in any combination have no effect). In this case, I've had to
stop and restart jboss to get the queue to resume, and the messages are gone on
startup.
Any ideas are greatly appreciated.
Brian
|
- Re: [JBoss-user] JBossMQ: Temporarily stop delivery to M... Brian Sondergaard
