Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-476

Reading of Stomp Frame with content length may throw excecption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.7.0
    • Stomp
    • None
    • Solaris 10
      Apollo
      AMQ

    • Patch Available

    Description

      – HOW TO REPRODUCE –
      1) Setup a consumer to listen for messages on Topic XXX using CMS with stomp.
      2) Setup a publisher to send a messages from java JMS interface to Topic XXX continually. (with org.fusesource.stomp.jms.*)
      3) An exception is thrown in consumer from StompWireFormat::readStompBody() with description "Read Content Length, and no trailing null"

      – BLOCK DIAGRAM –
      All components are in different hosts and all run under Solaris 10 environment.

      C++ CONSUMER <- APOLLO 1.6 / AMQ 5.4.2 <- JAVA PUBLISHER

      or

      C++ CONSUMER <- APOLLO 1.6 / AMQ 5.4.2 <- C++ PUBLISHER

      Attachments

        1. consumer.cpp
          6 kB
          Jeremy Leung
        2. Publisher.java
          3 kB
          Jeremy Leung
        3. StompFrame.cpp.patch.txt
          0.6 kB
          Jeremy Leung
        4. unit_test.txt
          14 kB
          Jeremy Leung

        Activity

          People

            tabish Timothy A. Bish
            jeremyleung Jeremy Leung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: