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

Message browsing denied for stomp protocol 1.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.6.0, 5.7.0, 5.8.0
    • 5.9.0
    • Transport
    • None
    • Tested on MacOS 10.8.4, Apache ActiveMQ 5.8.0 installed via brew, stompgem 1.2.14 installed via gem install, Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)

    Description

      Hello.

      Connected to the broker and successfully negotiated 1.2 as the protocol version with the CONNECT frames. When sending the header browser:true within a SUBSCRIBE frame the broker logs the exception "org.apache.activemq.transport.stomp.ProtocolException: Queue Browser feature only valid for Stomp v1.1 clients!".

      Checking file https://svn.apache.org/repos/asf/activemq/trunk/activemq-stomp/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java , line 557, the exception is thrown if the protocol is not 1.1 only, not 1.1 or above. Confirmed on the user list this seems to be a bug: http://activemq.2283324.n4.nabble.com/Message-browsing-with-Stomp-client-1-2-td4670514.html

      Regards.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            moret Danilo Moret
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: