-
Bug
-
Resolution: Done
-
Critical
-
AMQ 7.1.0.GA
-
None
-
Release Notes
-
-
Previously, if you used the Hawtio console to send a message exceeding the broker’s internal buffer size, you saw an exception. This issue is corrected. The broker now automatically converts this type of message to large message and sends it successfully.
-
Using the hawtio web console, sending a very large message (greater than1MB) using the "send" panel under
addresses -> (address) -> queues -> anycast -> (the queue)
results in the following exception
java.lang.IllegalStateException: Can't write records bigger than the bufferSize(501760) on the journal at org.apache.activemq.artemis.core.io.buffer.TimedBuffer.checkSize(TimedBuffer.java:207) [artemis-journal-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.core.io.AbstractSequentialFile.fits(AbstractSequentialFile.java:171) [artemis-journal-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.core.journal.impl.JournalImpl.switchFileIfNecessary(JournalImpl.java:2963) [artemis-journal-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(JournalImpl.java:2683) [artemis-journal-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$200(JournalImpl.java:90) [artemis-journal-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.core.journal.impl.JournalImpl$1.run(JournalImpl.java:803) [artemis-journal-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53) [artemis-commons-2.4.0.amq-710004-redhat-1.jar:2.4.0.amq-710004-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_102] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]