Hi,

as far as I am aware you can use the command activeMQ to control / query the broker,
but not to send messages.

Best regards
Andreas

On 11/04/2013 12:14 AM, abhilashmj87 wrote:
Hi,

I am trying to run the activeMQ to send a message to a broker and i am
getting the following message. could anyone please help me solve this and
run activemq?
Thank you.

Java Runtime: Oracle Corporation 1.7.0_07 C:\Program Files\Java\jre7
   Heap sizes: current=124800k  free=122186k  max=1851392k
     JVM args:
-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:63918
-Dfile.encoding=Cp1252
Extensions classpath:
   []
ACTIVEMQ_HOME: C:\Program Files\Java\jre7\lib
ACTIVEMQ_BASE: C:\Program Files\Java\jre7\lib
ACTIVEMQ_CONF: C:\Program Files\Java\jre7\lib\conf
ACTIVEMQ_DATA: C:\Program Files\Java\jre7\lib\data
Usage: Main [--extdir <dir>] [task] [task-options] [task data]

Tasks:
     browse                   - Display selected messages in a specified
destination.
     bstat                    - Performs a predefined query that displays
useful statistics regarding the specified broker
     create                   - Creates a runnable broker instance in the
specified path.
     decrypt                  - Decrypts given text
     encrypt                  - Encrypts given text
     export                   - Exports a stopped brokers data files to an
archive file
     list                     - Lists all available brokers in the specified
JMX context
     purge                    - Delete selected destination's messages that
matches the message selector
     query                    - Display selected broker component's
attributes and statistics.
     start                    - Creates and starts a broker using a
configuration file, or a broker URI.
     stop                     - Stops a running broker specified by the
broker name.

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 Main [task] -h,-?,--help

Task Data:
     - Information needed by each specific task.

JMX system property options:
     -Dactivemq.jmx.url=<jmx service uri> (default is:
'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
     -Dactivemq.jmx.user=<user name>
     -Dactivemq.jmx.password=<password>






--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Not-able-to-run-ActiveMQ-5-8-0-tp4673809.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


--


   Andreas Gies

WoQ -- Way of Quality UG

Geschäftsführer & CTO

/eMail:/andr...@wayofquality.de <mailto:andr...@wayofquality.de>

/Tel:/ +49 151 23470823

/Fax:/ +49 1805 006534 2114

/Twitter:/ andreasgies /Skype:/ giessonic

/LinkedIn:/ <http://de.linkedin.com/pub/andreas-gies/0/594/aa5/> (http://de.linkedin.com/pub/andreas-gies/0/594/aa5/)

/Xing:/ <http://www.xing.com/profile/Andreas_Gies> (http://www.xing.com/profile/Andreas_Gies)

/Blog:/ <http://www.wayofquality.de/index.php/en/blog> (http://www.wayofquality.de/index.php/en/blog)

/Github:/ <https://github.com/atooni> (https://github.com/atooni)

/Amtsgericht Landshut:/HRB 8352//

//

/Ust.-Id.:/ DE274771254


     Haftungsausschluss

Diese Email kann vertrauliche und/oder rechtlich geschützte Informationen enthalten und ist ausschließlich für den/die benannten Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Empfänger sein oder diese Email irrtümlich erhalten haben, ist es Ihnen nicht gestattet diese Mail oder einen Teil davon ohne unsere Erlaubnis zu verbreiten, zu kopieren, unbefugt weiterzuleiten oder zu behalten. Informieren Sie bitte sofort den Absender telefonisch oder per Email und löschen Sie diese Email und alle Kopien aus Ihrem System. Wir haften nicht für die Unversehrtheit von Emails, nachdem sie unseren Einflussbereich verlassen haben.


     Disclaimer

This email may contain confidential and/or privileged information and is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it without our authority. Please contact the sender by call or reply email immediately and destroy all copies and the original message. We are not responsible for the integrity of emails after they have left our sphere of control.

//

Reply via email to