add stylesheet to example read me

This commit is contained in:
Andy Taylor 2015-03-09 16:18:25 +00:00
parent 5a0ff8fce0
commit 3bea103cfa
1 changed files with 63 additions and 31 deletions

View File

@ -1,40 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one Licensed to the Apache Software Foundation (ASF) under one or more
or more contributor license agreements. See the NOTICE file contributor license agreements. See the NOTICE file distributed with
distributed with this work for additional information this work for additional information regarding copyright ownership.
regarding copyright ownership. The ASF licenses this file The ASF licenses this file to You under the Apache License, Version 2.0
to you under the Apache License, Version 2.0 (the (the "License"); you may not use this file except in compliance with
"License"); you may not use this file except in compliance the License. You may obtain a copy of the License at
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, Unless required by applicable law or agreed to in writing, software
software distributed under the License is distributed on an distributed under the License is distributed on an "AS IS" BASIS,
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
KIND, either express or implied. See the License for the See the License for the specific language governing permissions and
specific language governing permissions and limitations limitations under the License.
under the License. Architecture
--> -->
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="ActiveMQ's next generation of messaging" name="description"/>
<meta content="messaging,stomp,jms,activemq" name="keywords"/>
<meta content="ActiveMQ" name="author"/>
<link type="text/css" rel="stylesheet" href="../styles/impact/css/pygmentize.css"/>
<link type="text/css" rel="stylesheet" href="../styles/impact/css/site.css"/>
<title>ActiveMQ</title>
</head>
<body>
<div id="navigation">
<div class="wrapper">
<ul>
<li><a href="../index.html">ActiveMQ 6.0</a></li>
</ul> <div></div>
</div>
</div>
<div id="content">
<div class="wrapper">
<div class="logo">
<img src="../images/activemq-logo.png" alt="ActiveMQ logo"/>
</div>
<div class="message">
<h1>Apache ActiveMQ Examples</h1> <h1>Apache ActiveMQ Examples</h1>
<p>Apache ActiveMQ comes with over 90 runnable examples. These can be found in the examples directory in the root of the <p>Apache ActiveMQ comes with over 90 runnable examples. These can be found in the examples directory in the root of the
distribution folder. There are examples covering JMS as well as all the protocols and functionality that Apache ActiveMQ distribution folder. There are examples covering JMS as well as all the protocols and functionality that Apache ActiveMQ
supports.</p> supports.</p>
<p>Each example has its own instructions as to how they can be run, but for most of them it is as simple as running <p>Each example has its own instructions as to how they can be run, but for most of them it is as simple as running
<code>mvn verify -Pexample</code> from the example directory. This will start a broker with the correct configuration, run the <code>mvn verify -Pexample</code> from the example directory. This will start a broker with the correct configuration, run the
example and then stop the broker. You'll need to ensure there is not a broker already running as this may conflict example and then stop the broker. You'll need to ensure there is not a broker already running as this may conflict
with the broker that is configured and used in the example.</p> with the broker that is configured and used in the example.</p>
<p>If you want to run an example against an already running broker then firstly you will need to start the broker using <p>If you want to run an example against an already running broker then firstly you will need to start the broker using
the example configuration. An example configuration is provided which by default to run the queue example, to run this the example configuration. An example configuration is provided which by default to run the queue example, to run this
use the command <code>./activemq run --config xml:../config/examples/bootstrap.xml</code>. use the command <code>./activemq run --config xml:../config/examples/bootstrap.xml</code>.
Once the server has started run the example with the command <code>mvn -DskipBrokerStart verify -Pexample</code>. If you want Once the server has started run the example with the command <code>mvn -DskipBrokerStart verify -Pexample</code>. If you want
to run a different example simply edit the <code>config/examples/bootstrap.xml</code> aand change the paths to point to run a different example simply edit the <code>config/examples/bootstrap.xml</code> aand change the paths to point
the correct configuration (this will be found in the directory of the example you wish to run). By default the broker the correct configuration (this will be found in the directory of the example you wish to run). By default the broker
will use the <code>data/server0</code> directory for the journal, to avoid problems it is best to delete this will use the <code>data/server0</code> directory for the journal, to avoid problems it is best to delete this
directory between running different examples or set the <code>ACTIVEMQ_DATA_DIR</code> environment property in directory between running different examples or set the <code>ACTIVEMQ_DATA_DIR</code> environment property in
<code>activemq.conf</code>to use a different location</p> <code>activemq.conf</code>to use a different location</p>
<div></div>
</div>
</div>
</div>
</div>
</body>
</html>