Receiving truncated message when the message size is 8K: MQRC_TRUNCATED_MSG_ACCEPTED (Doc ID 1025800.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle Java CAPS Core - Version: 5.1.3 and later
Information in this document applies to any platform.

Symptoms

Using the MQ eWay in receive mode where it receives the message from the MQ queue but when the message gets bigger, it is unable to get the whole message rather it gets the truncated message and throwing the below warning in the logs:
[#|2008-06-30T09:24:55.910-0700|WARNING|IS5.1.3|STC.eWay.MQSeries.com.stc.connector.webspheremqadapter.appconn.MQClientAgent|_ThreadID=15; ThreadName=Worker: 4;stacktrace-id=0;|Got truncated message from queue <MED.ESBDEV.PROV.REQ.QA>. Reason 2079: MQRC_TRUNCATED_MSG_ACCEPTED
com.ibm.mq.MQException: MQJE001: Completion Code 1, Reason 2079
at com.ibm.mq.MQQueue.get(MQQueue.java:1033)
at com.stc.connector.webspheremqadapter.appconn.MQClientAgent.receiveMessage(MQClientAgent.java:789)
at com.stc.connector.webspheremqadapter.eway.MQInboundWork.work(MQInboundWork.java:151)
at com.stc.connector.webspheremqadapter.eway.MQInboundWork.run(MQInboundWork.java:121)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)

Is there any configuration where I need to set to get the whole message contents?

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms