What's the default message buffer size in JMS for IBM MQ
We are using JMS API to access an IBM MQ. From time to time, we received reply message with a reason code = 2080 (MQRC_TRUNCATED_MSG_FAILED). Some doc says this is because the buffer size specified is too small when trying to fetch a large size message from the queue.
The "receive" method in IBM-specific API takes in a "bufferSize" parameter. But in Sun JMS API, I found nowhere to set buffer size. And it seems the Sun JMS API will automatically increase the buffer size for the subsequent fetching request when receiving a MQRC_TRUNCATED_MSG_FAILED reply.
I believe Sun JMS API will set this buffer size when calling MQ-specific API in its implementation. My question is, what is the default value for this buffer size?
Thanks.