|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
avoid printing MQJE001: Completion Code 2, Reason 2033 |
« View previous topic :: View next topic » |
Author |
Message
|
alfia_786 |
Posted: Wed Nov 21, 2007 2:24 pm Post subject: avoid printing MQJE001: Completion Code 2, Reason 2033 |
|
|
Novice
Joined: 13 Nov 2007 Posts: 12
|
we have a deamon that runs and checks the queue for a message,if there is one,it gets it and parses it and stores it into the database,but when its empty it just keeps printing
MQJE001: Completion Code 2, Reason 2033
how can I make it not print this |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Nov 21, 2007 8:03 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Don't hold me to this, but I think you can add a couple of lines to your code:
Code: |
MQEnvironment.disableTracing ();
MQException.log = null; |
If it works, post the confirmation here. |
|
Back to top |
|
 |
alfia_786 |
Posted: Mon Nov 26, 2007 3:28 pm Post subject: |
|
|
Novice
Joined: 13 Nov 2007 Posts: 12
|
well this works:
MQException.logExclude(MQException.MQRC_NO_MSG_AVAILABLE); |
|
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
|
|
|
|