activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r882031 - in /websites/production/activemq/content: cache/main.pageCache version-5-getting-started.html
Date Thu, 10 Oct 2013 14:21:29 GMT
Author: buildbot
Date: Thu Oct 10 14:21:28 2013
New Revision: 882031

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/version-5-getting-started.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/version-5-getting-started.html
==============================================================================
--- websites/production/activemq/content/version-5-getting-started.html (original)
+++ websites/production/activemq/content/version-5-getting-started.html Thu Oct 10 14:21:28
2013
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css'
rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css'
rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>

-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js'
type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Version 5 Getting Started
@@ -93,7 +84,7 @@
 	<ul><li><a shape="rect" href="#Version5GettingStarted-WindowsBinaryInstallation">Windows
Binary Installation</a></li><li><a shape="rect" href="#Version5GettingStarted-WindowsSourceInstallation">Windows
Source Installation</a></li><li><a shape="rect" href="#Version5GettingStarted-WindowsDevelopers%27Release">Windows
Developers' Release</a></li></ul>
 	</li><li><a shape="rect" href="#Version5GettingStarted-InstallationProcedureforUnix">Installation
Procedure for Unix</a>
 	<ul><li><a shape="rect" href="#Version5GettingStarted-UnixBinaryInstallation">Unix
Binary Installation</a></li><li><a shape="rect" href="#Version5GettingStarted-UnixSourceInstallation">Unix
Source Installation</a></li><li><a shape="rect" href="#Version5GettingStarted-UnixDevelopers%27Release">Unix
Developers' Release</a></li></ul>
-	</li><li><a shape="rect" href="#Version5GettingStarted-StartingActiveMQ">Starting
ActiveMQ</a></li><li><a shape="rect" href="#Version5GettingStarted-TestingtheInstallation">Testing
the Installation</a></li><li><a shape="rect" href="#Version5GettingStarted-MonitoringActiveMQ">Monitoring
ActiveMQ</a></li><li><a shape="rect" href="#Version5GettingStarted-StoppingActiveMQ">Stopping
ActiveMQ</a></li><li><a shape="rect" href="#Version5GettingStarted-ConfiguringActiveMQ">Configuring
ActiveMQ</a></li></ul>
+	</li><li><a shape="rect" href="#Version5GettingStarted-StartingActiveMQ">Starting
ActiveMQ</a></li><li><a shape="rect" href="#Version5GettingStarted-TestingtheInstallation">Testing
the Installation</a></li><li><a shape="rect" href="#Version5GettingStarted-MonitoringActiveMQ">Monitoring
ActiveMQ</a></li><li><a shape="rect" href="#Version5GettingStarted-StoppingActiveMQ">Stopping
ActiveMQ</a></li><li><a shape="rect" href="#Version5GettingStarted-StartingActiveMQwithadifferentconfigurationfile">Starting
ActiveMQ with a different configuration file</a></li><li><a shape="rect"
href="#Version5GettingStarted-ConfiguringActiveMQ">Configuring ActiveMQ</a></li></ul>
 
 
 <h2><a shape="rect" name="Version5GettingStarted-PreInstallationRequirements"></a>Pre-Installation
Requirements</h2>
@@ -285,6 +276,8 @@ chmod 755 activemq
 
 <p>There now follows instructions on how to <a shape="rect" href="run-broker.html"
title="Run Broker">run the ActiveMQ Message Broker</a>.</p>
 
+<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">See
also <span class="error">[Starting ActiveMQ with a different configuration file]</span></td></tr></table></div>
+
 <h4><a shape="rect" name="Version5GettingStarted-OnWindows%3A"></a>On Windows:</h4>
 
 <p>From a console window, change to the installation directory and run <tt>ActiveMQ</tt>:</p>
@@ -402,6 +395,26 @@ kill [PID]
 ]]></script>
 </div></div>
 
+<h2><a shape="rect" name="Version5GettingStarted-StartingActiveMQwithadifferentconfigurationfile"></a><a
shape="rect" name="Version5GettingStarted-StartingActiveMQwithadifferentconfigurationfile"></a>
Starting ActiveMQ with a different configuration file</h2>
+
+<p>By default ActiveMQ uses the <tt>conf/activemq.xml</tt> as the main
configuration file when starting. If you want to use a different configuration file you can
specify this as a parameter. For example to use <tt>conf/activemq-demo.xml</tt>
which includes the web demos, you do as follows:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+bin/activemq console xbean:conf/activemq-demo.xml
+]]></script>
+</div></div>
+
+<p>To start Active in console mode and load the <tt>conf/activemq-demo.xml</tt>
file. Yes you need the <tt>xbean:</tt> as prefix.</p>
+
+<p>And to launch as a background process you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+bin/activemq start xbean:conf/activemq-demo.xml
+]]></script>
+</div></div>
+
+
 <h2><a shape="rect" name="Version5GettingStarted-ConfiguringActiveMQ"></a>Configuring
ActiveMQ</h2>
 
 <p>The ActiveMQ broker should now run. You can configure the broker by specifying an
<a shape="rect" href="xml-configuration.html" title="Xml Configuration">Xml Configuration</a>
file as a parameter to the <em>activemq</em> command. An alternative is to use
the <a shape="rect" href="broker-configuration-uri.html" title="Broker Configuration URI">Broker
Configuration URI</a> to configure things on the command line in a concise format (though
the configuration options are not as extensive as if you use Java or XML code). You can also</p>



Mime
View raw message