Read large message file (*.msg) stuck in HornetQ
问题 I am working on a app which has a lot of asynchronous messages hosted by HornetQ 2.3.21. By some process my message size goes more than 2GB and the message starts failing with this message on the server: HQ212017: error adding packet: java.lang.IllegalStateException: Maximum size of 2gb exceeded at org.jboss.netty.buffer.DynamicChannelBuffer.ensureWritableBytes(DynamicChannelBuffer.java:82) [netty-3.6.9.Final-redhat-1.jar:3.6.9.Final-redhat-1] at org.jboss.netty.buffer.DynamicChannelBuffer