AMQ broker raises "Exception occurred processing: <Unknown> -> org.apache.activemq.transport.stomp.ProtocolException: The maximum data length was exceeded"

Solution Verified - Updated -

Issue

Why are we getting the following warning in the broker log when sending a Stomp message that is larger than wireFormat.maxDataLength (104857600 bytes by default)?

WARN ProtocolConverter - Exception occurred processing: <Unknown> -> org.apache.activemq.transport.stomp.ProtocolException: The maximum data length was exceeded

The exception is expected but why does it say <Unknown> in the error message?

Environment

  • JBoss A-MQ 6.2.1
  • JBoss A-MQ 6.3
  • Stomp Protocol

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