Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6186

JMS consumer receives BytesMessage when sending text message from STOMP producer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 5.11.1
    • None
    • Broker

    Description

      The 'Working with JMS Text/Bytes Messages and Stomp' section on stomp wiki page (http://activemq.apache.org/stomp.html) explains how inclusion of 'content-length' header affects message transformation on ActiveMQ server.

      Now, many libraries that implement STOMP protocol v1.1,1.2 include this header is it is a mandatory header and this breaks compatibility with ActiveMQ.

      I think ActiveMQ should consider using "content-type" header to determine the type of message that is being sent instead of relying on inclusion/exclusion of content-length header.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xabhi Abhi
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: