Posted: Wed Apr 18, 2012 10:40 pm Post subject: suppress native java API logging to stderr
Master
Joined: 27 Feb 2008 Posts: 218
I've implemented a programm running with java native API connected in bindings mode to the queue manager. In order to suppress the error messages sent to stderr I've added
Code:
MQException.log = null;
into my code, but there one error message
Code:
MQJE001: Beendigungscode '2', Ursache '6114'.
which is still displayed upon console. The error message appears while using MQQueue.get(MQMessage message, MQGetMessageOptions getMessageOptions, int maxMsgSize) on a queue which contains message with invalid MQMD structure.
Does anyone know how to suppress this message? _________________ IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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