1 Reply Latest reply: May 8, 2012 7:35 PM by Clebert Suconic RSS

    unable to receive messages when message is larger than half of min-large-message-size

    Difu Su Newbie

      I got an error related to large messages.


      I use hornetq 2.2.7. I  send and receive messages with JMS. I set the min-large-lessage-size, when I send messages at size larger than half this size, I cannot receive the message and get the error:


      Failed to prepare message for receipt

      java.lanf.IndexOutOf BoundException

           at org.jboss.netty.buffer.AbstractChannelBuffer.checkReadableBytes


           at org.hornetq.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString


           at org.hornetq.jms.client.HornetQTextMessage.doBeforeReceive




      How do I fix the error?