2007-02-07 11:57:00 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-02-07 13:24:33 -05:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2007-02-07 11:57:00 -05:00
|
|
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
2007-02-07 13:45:53 -05:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2007-02-07 11:57:00 -05:00
|
|
|
<book>
|
2007-02-07 13:24:33 -05:00
|
|
|
<bookinfo>
|
|
|
|
<title>Apache ActiveMQ - User Guide</title>
|
2007-02-07 13:45:53 -05:00
|
|
|
<releaseinfo>&version;</releaseinfo>
|
|
|
|
|
2007-02-07 13:24:33 -05:00
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<firstname>James</firstname>
|
|
|
|
<surname>Strachan</surname>
|
|
|
|
</author>
|
2007-02-07 13:45:53 -05:00
|
|
|
|
2007-02-07 13:24:33 -05:00
|
|
|
<author>
|
|
|
|
<firstname>Brian</firstname>
|
|
|
|
<surname>McCallister</surname>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
2007-02-07 13:45:53 -05:00
|
|
|
|
2007-02-07 13:24:33 -05:00
|
|
|
<legalnotice>
|
2007-02-07 13:45:53 -05:00
|
|
|
<para>Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership. The
|
|
|
|
ASF licenses this file to You under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance with the
|
|
|
|
License. You may obtain a copy of the License at</para>
|
|
|
|
|
|
|
|
<para>http://www.apache.org/licenses/LICENSE-2.0</para>
|
|
|
|
|
|
|
|
<para>Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an "AS IS"
|
|
|
|
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing permissions
|
|
|
|
and limitations under the License.</para>
|
2007-02-07 13:24:33 -05:00
|
|
|
</legalnotice>
|
|
|
|
</bookinfo>
|
|
|
|
|
2007-02-07 13:45:53 -05:00
|
|
|
<toc></toc>
|
2007-02-07 13:24:33 -05:00
|
|
|
|
|
|
|
<chapter id="introduction">
|
|
|
|
<title>Introduction</title>
|
2007-02-07 11:57:00 -05:00
|
|
|
|
2007-02-07 13:45:53 -05:00
|
|
|
<para></para>
|
2007-02-07 11:57:00 -05:00
|
|
|
|
2007-02-07 13:45:53 -05:00
|
|
|
<para><ulink url="http://activemq.apache.org/">Apache ActiveMQ</ulink> is
|
|
|
|
the most popular and powerful open source Message Broker available today.
|
|
|
|
Its hosted at Apache and is distributed under the Apache Software License
|
|
|
|
(2.0).</para>
|
|
|
|
|
|
|
|
<para>ActiveMQ supports different <ulink
|
|
|
|
url="http://activemq.apache.org/cross-language-clients.html">cross
|
|
|
|
language clients</ulink> from many different languages such as Java, C# /
|
|
|
|
.Net, C, C++, Ruby, Python, Perl, PHP together with different protocols
|
|
|
|
like OpenWire, Stomp, REST, Ajax/Cometd, XMPP. ActiveMQ also provides a
|
|
|
|
whole raft of powerful <ulink
|
|
|
|
url="http://activemq.apache.org/features.html">features</ulink> like
|
|
|
|
Message Groups, Exclusive Queues, Master/Slave, Networks of Brokers and so
|
|
|
|
forth.</para>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<title>Architecture</title>
|
|
|
|
|
|
|
|
<para>Like most Message Orientated Middleware (<acronym>MOM</acronym>)
|
|
|
|
providers ActiveMQ is based on the idea of one or more <emphasis>Message
|
|
|
|
Brokers</emphasis> running on the network which act as a message router
|
|
|
|
and optional persistence store, then <emphasis>Clients</emphasis>
|
|
|
|
connect to one or more Message Broker.</para>
|
2007-02-07 13:24:33 -05:00
|
|
|
</section>
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<chapter id="installation">
|
|
|
|
<title>Installing Apache ActiveMQ</title>
|
|
|
|
|
2007-02-07 13:45:53 -05:00
|
|
|
<para>The first thing you need to do is install Apache ActiveMQ from a
|
|
|
|
binary distribution.</para>
|
2007-02-07 11:57:00 -05:00
|
|
|
|
|
|
|
<para></para>
|
|
|
|
</chapter>
|
|
|
|
|
2007-02-07 13:24:33 -05:00
|
|
|
<chapter id="running-broker">
|
|
|
|
<title>Running a Broker</title>
|
|
|
|
|
2007-02-07 13:45:53 -05:00
|
|
|
<para>The most typical deployment of Apache ActiveMQ is for brokers to be
|
|
|
|
run on the network as a stand alone processes then messaging clients
|
|
|
|
connect to one or more brokers. So we will describe how to go about
|
|
|
|
running brokers, then in the <link linkend="java-client">next
|
|
|
|
chapter</link> we will describe how to connect to a broker from a
|
|
|
|
client.</para>
|
2007-02-07 13:24:33 -05:00
|
|
|
|
|
|
|
<para></para>
|
|
|
|
</chapter>
|
2007-02-07 11:57:00 -05:00
|
|
|
|
2007-02-07 13:24:33 -05:00
|
|
|
<chapter id="java-client">
|
|
|
|
<title>Using the Java Client</title>
|
2007-02-07 11:57:00 -05:00
|
|
|
|
2007-02-07 13:45:53 -05:00
|
|
|
<para>Apache ActiveMQ fully supports the JMS 1.1 and J2EE 1.4
|
|
|
|
specifications so feel free to follow any documentation you have on JMS or
|
|
|
|
J2EE for more background.</para>
|
2007-02-07 11:57:00 -05:00
|
|
|
|
|
|
|
<para></para>
|
|
|
|
</chapter>
|
|
|
|
</book>
|