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?
I would first try the latest version.
If you still see the issue, provide us a replicator please.