mirror of https://github.com/apache/activemq.git
AMQ-4089: Polished the user guide in the kit.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87a0a4e19a
commit
c5a9dae974
|
@ -31,24 +31,67 @@ Welcome to Apache ActiveMQ. This document gives you a quick overview of how to g
|
|||
<h2>Running the broker</h2>
|
||||
|
||||
<p>
|
||||
From the binary distribution you can run the Apache ActiveMQ server pretty easily via the bin/activemq command.
|
||||
From the binary distribution you can run the Apache ActiveMQ server via the bin/activemq command.
|
||||
If you're using Windows, just type
|
||||
</p>
|
||||
<pre>
|
||||
cd bin
|
||||
activemq
|
||||
activemq.bat
|
||||
</pre>
|
||||
<p>
|
||||
On Unix-like systems, type
|
||||
</p>
|
||||
<pre>
|
||||
cd bin
|
||||
activemq console
|
||||
./bin/activemq console
|
||||
</pre>
|
||||
<p>to start the broker in foreground.</p>
|
||||
<p>
|
||||
The Apache ActiveMQ broker should now have started
|
||||
</p>
|
||||
<p>
|
||||
Tip: If you run the bin/activemq command without any arguments it will output usage.
|
||||
</p>
|
||||
|
||||
To stop the broker you can press ctrl + c to stop the process.
|
||||
|
||||
<h2>Running the broker in the background</h2>
|
||||
|
||||
<p>
|
||||
The broker can be started as a background process via the bin/activemq command
|
||||
on Unix-like systems, type
|
||||
</p>
|
||||
<pre>
|
||||
./bin/activemq start
|
||||
</pre>
|
||||
<p>to start the broker in background. The broker will write to its log in the data/activemq.log file.</p>
|
||||
|
||||
<h2>Stopping the broker</h2>
|
||||
|
||||
<p>
|
||||
The broker can be stopped via the bin/activemq command
|
||||
If you're using Windows, just type
|
||||
</p>
|
||||
<pre>
|
||||
cd bin
|
||||
activemq.bat stop
|
||||
</pre>
|
||||
<p>
|
||||
On Unix-like systems, type
|
||||
</p>
|
||||
<pre>
|
||||
./bin/activemq stop
|
||||
</pre>
|
||||
<p>to stop the broker.
|
||||
|
||||
|
||||
<h2>Access the web console</h2>
|
||||
|
||||
In a web browser you can access the url <a href="http://0.0.0.0:8161/admin">http://0.0.0.0:8161/admin</a> to access the ActiveMQ web console.
|
||||
|
||||
<h2>Access the web demos</h2>
|
||||
|
||||
In a web browser you can access the url <a href="http://0.0.0.0:8161/demo">http://0.0.0.0:8161/demo</a> to access the ActiveMQ web demos.
|
||||
|
||||
|
||||
<h2>Running the example programs</h2>
|
||||
|
||||
|
@ -113,6 +156,13 @@ you can specify exact URLs to connect to via command like arguments. e.g.
|
|||
ant producer -Durl=tcp://somehost:port
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
<h2>Further Readings</h2>
|
||||
|
||||
You can find more details about Apache ActiveMQ at its website <a href="http://activemq.apache.org">http://activemq.apache.org</a>,
|
||||
as well the guide <a href="http://activemq.apache.org/version-5-getting-started.html">getting started</a> guide.
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in New Issue