Posted: Thu Oct 24, 2002 8:13 am Post subject: java.io.EOFException on .get() using MQ base Java
Apprentice
Joined: 21 Oct 2002 Posts: 31
Does anyone know how big the message buffer for the MQMessage object is ? I am receiving quite a large reply from my message client and I get a java.io.EOFException exception. I'm assuming that the size of the message buffer in the MQMessage object is being overrun and needs to be increased.
Could you give more details on this. My understading is that EOFException exception is thrown on readXXX mothods, not on get() method. get() method should throw an MQException.
On the buffer size, are you specifying MaxMsgSize in your get call. If you are not specifying the MaxMsgSize, the message should be retried from the queue regardless of the message size.
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