Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 36669 invoked from network); 16 Nov 2006 15:28:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 15:28:19 -0000 Received: (qmail 88019 invoked by uid 500); 16 Nov 2006 15:28:30 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 88002 invoked by uid 500); 16 Nov 2006 15:28:30 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 87993 invoked by uid 99); 16 Nov 2006 15:28:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 07:28:29 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 07:28:18 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 8192F1A9846; Thu, 16 Nov 2006 07:27:46 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r475766 - in /incubator/activemq/site: command-agent.html features.html new-features-in-42.html Date: Thu, 16 Nov 2006 15:27:46 -0000 To: activemq-commits@geronimo.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061116152746.8192F1A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: chirino Date: Thu Nov 16 07:27:45 2006 New Revision: 475766 URL: http://svn.apache.org/viewvc?view=rev&rev=475766 Log: Latest export from confluence Added: incubator/activemq/site/command-agent.html Modified: incubator/activemq/site/features.html incubator/activemq/site/new-features-in-42.html Added: incubator/activemq/site/command-agent.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/command-agent.html?view=auto&rev=475766 ============================================================================== --- incubator/activemq/site/command-agent.html (added) +++ incubator/activemq/site/command-agent.html Thu Nov 16 07:27:45 2006 @@ -0,0 +1,302 @@ + + + + + + + + +Command Agent + + + + + +
+ + + + + + +
+ + + +
+ +
+ + + + + + +
+ + + + + +
+ + +
+ + +

Command Agent

+ +

From 4.2 onwards Apache ActiveMQ allows you to communicate with a broker Command Agent to be able to perform administration queries and commands. This allows you to use the message bus itself to communicate with the message broker to list available queues, topics, subscriptions, to view metadata, browse queues and so forth.

+ +

Enabling the Command Agent

+ +

To enable the command agent, in the activemq.xml (or your spring.xml you use to configure the broker) add the following

+ +
+
<beans>
+  <broker useJmx="true" xmlns="http://activemq.org/config/1.0">
+    ...
+  </broker>
+
+  <commandAgent xmlns="http://activemq.org/config/1.0"/>
+  ...
+</beans>
+
+ +

The broker will then have a command agent connected which will listen on the topic ActiveMQ.Agent.

+ +

The Web Console has the Command Agent enabled by default as does the standard activemq.xml file.

+ +

Using Jabber (XMPP) to talk to the Broker

+ +

You can use the XMPP support to talk with the broker. For example follow the instructions in XMPP to connect via a Jabber client, then just join the room ActiveMQ.Agent and talk to the broker!

+ +

Using the interactive console

+ +

The activemq-core module has a simple Java class called SimpleConsole which you can run in your IDE to get an interactive console for communicating with a broker over JMS. Type in the various commands (or help to get more help) and the results are returned on the console.

+ +
+
+
+ + + + + + \ No newline at end of file Modified: incubator/activemq/site/features.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/features.html?view=diff&rev=475766&r1=475765&r2=475766 ============================================================================== --- incubator/activemq/site/features.html (original) +++ incubator/activemq/site/features.html Thu Nov 16 07:27:45 2006 @@ -256,7 +256,7 @@

Apache ActiveMQ is packed with features; to get an idea you might want to look at the Features Overview otherwise here is the list of all of the main features...

- +