[AMQ7, AMQP, large message]java.lang.IllegalStateException: Can't write records bigger than the bufferSize(501760) on the journal

Solution Verified - Updated -

Issue

  • getting the following exception when trying to send a large message over AMQP to AMQ 7 broker.
ERROR [org.apache.activemq.artemis.core.journal.impl.JournalImpl] appendAddRecord::java.lang.IllegalStateException: Can't write records bigger than the bufferSize(501760) on the journal: 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:197) [artemis-journal-2.0.0.amq-700013-redhat-1.jar:2.0.0.amq-700013-redhat-1]

Environment

  • JBoss AMQ 7.0.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.