Disable Inclusion of content-length header in STOMP output

Description

To send to ActiveMQ and JMS through of STOMP in format text messages must disable and stop sending the Inclusion of content-length header in the shipments.

http://activemq.apache.org/stomp.html

Working with JMS Text/Bytes Messages and Stomp

Stomp does not have knowledge of JMS messages such as TextMessages or BytesMessages. The protocol does however support a content-length header. To provide more robust interaction between Stomp and JMS clients, ActiveMQ keys off of the inclusion of this header to determine what message type to create when sending from Stomp to JMS. The logic is simple:

Inclusion of content-length header Resulting Message
yes BytesMessage
no TextMessage

A Stomp client could be written to key off of the inclusion of the content-length header to determine what type of message structure to provide to the user.

Gliffy Diagrams

Activity

Show:

Philippe Weber February 9, 2015 at 11:31 AM

Fabien Crespel January 5, 2014 at 3:20 PM

See for a better fix related to https://issues.apache.org/jira/browse/AMQ-2833

Duplicate

Details

Assignee

Reporter

Affects versions

Created March 15, 2013 at 1:17 AM
Updated February 9, 2015 at 11:31 AM
Resolved February 9, 2015 at 11:31 AM