ActiveMQ
  1. ActiveMQ
  2. AMQ-3112

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1033d 5h 47m 1 Claus Ibsen 02/Nov/13 20:46
        Claus Ibsen made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Claus Ibsen added a comment -

        AMQ Alias Command has been removed from 5.9 onwards
        http://activemq.apache.org/command-agent.html

        Show
        Claus Ibsen added a comment - AMQ Alias Command has been removed from 5.9 onwards http://activemq.apache.org/command-agent.html
        Aleksandar Ivanisevic created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Aleksandar Ivanisevic
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development