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

sending a "--help" command to ActiveMQ.Agent causes it to lock up and reply with help to all subsequent messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.4.2
    • None
    • None
    • None

    Description

      sending a "--help" command to ActiveMQ.Agent causes it to lock up and reply with help to all subsequent messages

      I'm using stomp so here is a stomp example, but i think its a general issue

      send [CONNECT
      passcode:xx
      login:xx

      ]
      receive [CONNECTED
      session:ID:STATS2-44815-1294140076908-5:8536

      ]
      T+0 Sending msg, size 6: --help , filesize 0
      send [BEGIN
      transaction:ID:STATS2-44815-1294140076908-5:8536-1

      ]
      send [SEND
      destination:/topic/ActiveMQ.Agent
      reply-to:/temp-queue/reply
      bytes_message:
      receipt:ID:STATS2-44815-1294140076908-5:8536-2
      persistent:true
      expires:1294156151000

      --help]
      receive [RECEIPT
      receipt-id:ID:STATS2-44815-1294140076908-5:8536-2

      ]
      send [COMMIT
      transaction:ID:STATS2-44815-1294140076908-5:8536-1

      ]
      send [SUBSCRIBE
      activemq.prefetchSize:1
      ack:client
      destination:/temp-queue/reply
      activemq.exclusive:true

      ]
      T+0 msg sentT+0 waiting 10 sec for 1 replies
      T+0 waiting 10 sec for 1/1 replies
      receive [MESSAGE
      priority:4
      timestamp:1294152551188
      destination:/remote-temp-queue/ID:STATS2-44815-1294140076908-5:8536:1
      expires:0
      message-id:ID:STATS2-44815-1294140076908-2:1:1:1:56

      Usage: [task] [task-options] [task data]

      Tasks (default task is start):
      start - Creates and starts a broker using a configuration file, or a broker URI.
      create - Creates a runnable broker instance in the specified path
      stop - Stops a running broker specified by the broker name.
      list - Lists all available brokers in the specified JMX context.
      query - Display selected broker component's attributes and statistics.
      browse - Display selected messages in a specified destination.
      journal-audit - Allows you to view records stored in the persistent journal.
      purge - Delete selected destination's messages that matches the message selector
      encrypt - Encrypts given text
      decrypt - Decrypts given text

      Task Options (Options specific to each task):
      --extdir <dir> - Add the jar files in the directory to the classpath.
      --version - Display the version information.
      h,?,-help - Display this help information. To display task specific help, use [task] -h,?,--help

      Task Data:

      • Information needed by each specific task.

      ]

      after this no matter what command you send, you will always get the help message returned

      Attachments

        Activity

          People

            Unassigned Unassigned
            aivanise Aleksandar Ivanisevic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: