[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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content