Ruben Cala created ARTEMIS-768: ---------------------------------- Summary: Broker delivers STOMP message with invalid payload when using core api ClientProducer Key: ARTEMIS-768 URL: https://issues.apache.org/jira/browse/ARTEMIS-768 Project: ActiveMQ Artemis Issue Type: Bug Components: Stomp Affects Versions: 1.1.0 Environment: Redhat Linux 2.6 Reporter: Ruben Cala
When using core api ClientProducer to publish messages to the broker, the messages sent to stomp consumers have an invalid stomp body. In the message delivered to stomp consumers, original message body (string payload btw) from the published message is prepended with 6 random characters, one of which is the null character. The null character is the terminating character of the stomp body. This violates the stomp MESSAGE format, and can cause incorrect stomp message parsing. The workaround for this was to use the stomp content-length header to determine how many bytes to read in for the body, then manually discarding the garbage characters. -- This message was sent by Atlassian JIRA (v6.3.4#6332)