You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Aleksandar Ivanisevic (JIRA)" <ji...@apache.org> on 2011/01/04 15:59:46 UTC

[jira] Created: (AMQ-3112) sending a "--help" command to ActiveMQ.Agent causes it to lock up and reply with help to all subsequent messages

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

                 Key: AMQ-3112
                 URL: https://issues.apache.org/jira/browse/AMQ-3112
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.4.2
            Reporter: Aleksandar Ivanisevic
            Priority: Minor


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



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.