ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Temporarily disable MDBs from getting messages off the Queue

Post new topic  Reply to topic
 Temporarily disable MDBs from getting messages off the Queue « View previous topic :: View next topic » 
Author Message
dtauzell
PostPosted: Thu Nov 06, 2003 12:17 pm    Post subject: Temporarily disable MDBs from getting messages off the Queue Reply with quote

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
View user's profile Send private message
vmcgloin
PostPosted: Fri Nov 07, 2003 1:52 am    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Fri Nov 07, 2003 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
dtauzell
PostPosted: Fri Nov 07, 2003 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Fri Nov 07, 2003 6:36 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Vin
PostPosted: Fri Nov 07, 2003 8:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
dtauzell
PostPosted: Wed Dec 10, 2003 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Temporarily disable MDBs from getting messages off the Queue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.