Author |
Message
|
dtauzell |
Posted: Thu Nov 06, 2003 12:17 pm Post subject: Temporarily disable MDBs from getting messages off the Queue |
|
|
Apprentice
Joined: 23 May 2002 Posts: 37
|
I would like to temporarily prevent a bunch of MDBs from getting messages off the queue. At the same time there will be other processing putting messaages on the queue.
Is there any way to do this by configuring the Queue Manager?
Thanks,
Dave |
|
Back to top |
|
 |
vmcgloin |
Posted: Fri Nov 07, 2003 1:52 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Try changing the queue properties so it is get inhibited but not put inhibited. The MDBs will get an error though if they try to get messages from the queue. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 07, 2003 6:33 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Why not Stop the MDBs from the Admin Console? You could restart them when you are ready for them to run. |
|
Back to top |
|
 |
dtauzell |
Posted: Fri Nov 07, 2003 6:34 am Post subject: |
|
|
Apprentice
Joined: 23 May 2002 Posts: 37
|
That is what we will probably do. However, since we have a bunch of application servers with MDBs listening it would be easier to just disable something on the MQ side. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 07, 2003 6:36 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
It might be easier to disable on the MQ side. However, once the MDBs encounter the error, I believe they will shut down. You'll need to then enable the MQ side and restart the MDBs via the console. |
|
Back to top |
|
 |
Vin |
Posted: Fri Nov 07, 2003 8:27 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
with weblogic the MDBs get activated automatically without any intervention once the MQSeries queue is get enabled, so manual restart of the MDBs is not required. |
|
Back to top |
|
 |
dtauzell |
Posted: Wed Dec 10, 2003 8:39 am Post subject: |
|
|
Apprentice
Joined: 23 May 2002 Posts: 37
|
It looks like setting GET(DISABLED) on each queue will work for us. Both Weblogic and JBoss will try and re-connect every 10 seconds or so.
Thanks for your help. |
|
Back to top |
|
 |
|