|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to handle MQRC_Q_FULL |
« View previous topic :: View next topic » |
Author |
Message
|
mqbee |
Posted: Sun Aug 17, 2003 4:30 am Post subject: How to handle MQRC_Q_FULL |
|
|
 Novice
Joined: 31 Jul 2003 Posts: 15
|
While putting messages in a queue, am getting MQRC_Q_FULL error. This means queue is full, am i right? How to handle such a condition in java? I heard, we need to write message retry exits to handle such condition. Is it correct? If so, how to do it?
Thanks in advance. |
|
Back to top |
|
 |
vmcgloin |
Posted: Sun Aug 17, 2003 9:35 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Quote: |
MQRC_Q_FULL
On an MQPUT or MQPUT1 call, the call failed because the queue is full, that is, it already contains the maximum number of messages possible.
Corrective action: Retry the operation later. Consider increasing the maximum depth for this queue, or arranging for more instances of the application to service the queue. |
The best thing to do (in my opinion) is to increase the maximum depth for the queue and find out why the messages put there are not being processed. Also, have some sort of monitoring system in place so that an MQ administrator can do something about a queue filling up before your application gets an error.
If you feel the queue could be sorted soon then have your application retry after a period of time before giving up, otherwise the best thing might be to notify an admin of the error.
Cheers,
Vicky |
|
Back to top |
|
 |
mqbee |
Posted: Sun Aug 17, 2003 7:11 pm Post subject: Thnkx |
|
|
 Novice
Joined: 31 Jul 2003 Posts: 15
|
|
Back to top |
|
 |
clindsey |
Posted: Mon Aug 18, 2003 5:51 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
I agree that Vicky has the right idea. Try to find out why a queue is filling up and prevent it.
But if you need a safety net, take a look at the "Event Monitoring" document in chapter 4. You can use event monitoring not only for a queue full condition but also for a high water mark. You can use this to kick off a program that can drain a few messages off the queue when it hits a certain depth or you can put a message to an admin queue, etc.
Charlie |
|
Back to top |
|
 |
EddieA |
Posted: Mon Aug 18, 2003 7:59 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
If you do use the Event Messages for Queue High/Low/Full, then read the approriate manual VERY carefully indeed. Those Events do not work exactly how you expect them to.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|