Monday, May 19, 2014

IBM MQ Series com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2010

Issue -  com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2010
Solution:    Change the max size of message

Note: Change Values to match your Channel or Queue
ALTER QMGR MAXMSGL(12582912)
ALTER CHL(TESTQM_SVR.CH01) CHLTYPE(SVRCONN) MAXMSGL(12582912)
ALTER Q(APPL_TEST1) MAXMSGL(12582912)
ALTER Q(SYSTEM.DEAD.LETTER.QUEUE) MAXMSGL(12582912)
Note: You ONLY need to alter the attribute of the Dead Letter Queue if the message is coming from another queue manager (but then you would also need to do the sender & receiver channels).

No comments:

Post a Comment