AMQ broker raises "Exception occurred processing: <Unknown> -> org.apache.activemq.transport.stomp.ProtocolException: The maximum data length was exceeded"
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
