You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/12/19 15:31:28 UTC

[13/19] git commit: Doc

Doc


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/77c6a948
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/77c6a948
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/77c6a948

Branch: refs/heads/master
Commit: 77c6a94838eddb1f60aa55b2ce69cf748bf43cfa
Parents: 2b970c8
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Thu Dec 19 09:20:28 2013 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Thu Dec 19 09:20:28 2013 +0100

----------------------------------------------------------------------
 manual/src/main/webapp/users-guide/jms.conf | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/77c6a948/manual/src/main/webapp/users-guide/jms.conf
----------------------------------------------------------------------
diff --git a/manual/src/main/webapp/users-guide/jms.conf b/manual/src/main/webapp/users-guide/jms.conf
index d411669..ae5218d 100644
--- a/manual/src/main/webapp/users-guide/jms.conf
+++ b/manual/src/main/webapp/users-guide/jms.conf
@@ -28,6 +28,11 @@ Adding feature url mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features
 karaf@root()> feature:install activemq-broker
 {code}
 
+The {{activemq-broker}} feature installs:
+
+* a Apache ActiveMQ broker directly in Apache Karaf, bind to the {{61616}} port number by default.
+* the Apache ActiveMQ WebConsole bound to {{http://0.0.0.0:8181/activemqweb}} by default.
+
 The Apache Karaf {{jms}} feature provides an OSGi service to create/delete JMS connection factories in the container
 and perform JMS operations (send or consume messages, get information about a JMS broker, list the destinations, ...).
 
@@ -113,6 +118,18 @@ JMS Connection Factory
 /jms/test     
 {code}
 
+h3. {{jms:info}}
+
+The {{jms:info}} command
+
 h3. {{jms:send}}
 
-The {{jms:send}} command sends a message to a given JMS queue on the broker. 
+The {{jms:send}} command sends a message to a given JMS queue on the broker.
+
+For instance, to send a message containing {{Hello World}} in the {{test}} queue, you can do:
+
+{code}
+karaf@root()> jms:send /jms/test test "Hello World"
+{code}
+
+h3. {{jms:consume}}