Space Index

0-9 ... 2 A ... 49 B ... 12 C ... 38 D ... 19 E ... 6
F ... 5 G ... 5 H ... 86 I ... 15 J ... 23 K ... 2
L ... 7 M ... 17 N ... 11 O ... 9 P ... 18 Q ... 2
R ... 18 S ... 32 T ... 15 U ... 10 V ... 15 W ... 23
X ... 5 Y ... 0 Z ... 3 !@#$ ... 0    

0-9

2007 April
April 2007 Report ActiveMQ 4.1.1 Released voted in a new committer, John Heitmann the developer and user lists continue to be very active
4.0 RC 1 Guide
ActiveMQ 4.0RC1 Release Guide Release Manager Hiram Chirino Special issues We are still in the Incubator so need to ensure that all the proper disclaimers are in place and that the artifacts are all properly named incubatoractivemq. Open Issues Holding up the Release ...

A

Activation Spec Properties
An Activation Spec is used to configure the message delivery to an MDB. The ejbjar.xml deployment descriptor needs to include a element inside the element like: destination queue.testQueue ActiveMQ 1.1 Release
New and Noteworthy This release represents a major increase in functionality; the new features in this release are: distributed queues and topics and clusters of message brokers autoreconnection of clients across a cluster of brokers support for high performance nondurable queues wildcard support on queues (as well ...
ActiveMQ 1.2 Release
New and Noteworthy This release represents a major increase in functionality; the new features in this release are: heaps of bug fixes and new test cases Download Here Download Description activemqrelease1.2.zip http://dist.codehaus.org/activemq/distributions/activemqrelease1.2.zip Binary Distribution in zip package ...
ActiveMQ 1.3 Release
New and Noteworthy This release represents a major increase in functionality; the new features in this release are: heaps of bug fixes and new test cases Download Here Download Description activemqrelease1.3.zip http://dist.codehaus.org/activemq/distributions/activemqrelease1.3.zip Binary Distribution in zip package ...
ActiveMQ 1.4 Release
New and Noteworthy This release represents a major increase in functionality; the new features in this release are: heaps of bug fixes and new test cases Download Here Download Description activemqrelease1.4.zip http://dist.codehaus.org/activemq/distributions/activemqrelease1.4.zip Binary Distribution in zip package ...
ActiveMQ 1.5 Release
New and Noteworthy This release is mostly a bug fix release: A few bug fixes for J2EE compliance Download Here Download Description activemqrelease1.5.zip http://dist.codehaus.org/activemq/distributions/activemqrelease1.5.zip Binary Distribution in zip package activemqrelease1.5src.zip http://dist.codehaus.org/activemq ...
ActiveMQ 2.0 Release
New and Noteworthy This is a major release including lots of new functionality and performance improvements: This release includes advisory messages so you can listen to the state of the message fabric optimised wire format for higher throughput improved persistence engine and closer ...
ActiveMQ 2.1 Release
New and Noteworthy This release includes full support for the high performance journal. Our default persistence mechanism is now the journal for short term persistence and then JDBC (via Apache Derby by default) for long term storage. The journal is regularly checkpointed with the database ...
ActiveMQ 3 Networks of Brokers
Old Link Please see Networks of Brokers
ActiveMQ 3 Transport Configurations
Some of the transports support configuration, such as timeout values, maximum retry count and so forth. To configure the transports you can use the URI query syntax. e.g. tcp://foo:1234?asyncSend=true&socketBufferSize=10000 If you are using a list of URLs ...
ActiveMQ 3.0 Release
New and Noteworthy This new release includes the following a new 'discovery' transport protocol URI Protocols for a pure clientonly peer network a self discovering cluster which automatically finds the brokers available on the network (as opposed to the 'peer' protocol which is a complete ...
ActiveMQ 3.1 Release
New and Noteworthy This new release includes the following New Stomp http://stomp.codehaus.org/ support to make it easy to create cross language clients such as for Ruby or Perl etc. (Python, C and .Net coming soon) XPath based selectors and demand based ...
ActiveMQ 3.2 Release
New and Noteworthy This new release includes the following Improved Stomp http://stomp.codehaus.org/ 1.0 support to make it easy to create cross language clients such as for C, C#, Python, Ruby, Perl and Pike. Ajax support now uses OpenRico as the default ...
ActiveMQ 3.2.1 Release
New and Noteworthy This release is a bug fix release and users of previous versions of 3.2 are encouraged to upgrade to this version. Download Here Download Description activemq3.2.1.zip http://dist.codehaus.org/activemq/distributions/activemq3.2.1.zip Binary Distribution in zip package activemq3.2.1src.zip http://dist.codehaus.org/activemq ...
ActiveMQ 3.2.2 Release
New and Noteworthy This release is a bug fix release and users of previous versions of 3.2 are encouraged to upgrade to this version. Download Here Download Description activemq3.2.2.zip http://dist.codehaus.org/activemq/distributions/activemq3.2.2.zip Binary Distribution in zip package activemq3.2.2src.zip http://dist.codehaus.org/activemq ...
ActiveMQ 4 Connection URIs
ActiveMQ 4.0 M4 Release
New and Noteworthy This is the first milestone release of 4.x since the move to Apache so the package names have changed from org.activemq to org.apache.activemq. For a full list see the Changes in 4.0. This release of ActiveMQ includes a large number of new features Changes ...
ActiveMQ 4.0 RC2 Release
New and Noteworthy This is the second release candiate release of 4.0. This release of ActiveMQ includes a large number of new features Changes in 4.0 such as MasterSlave and Message Groups together with numerous bug fixes. Warnings When upgrading from a previous release you ...
ActiveMQ 4.0 Release
New and Noteworthy This is the 4.0 release of Apache ActiveMQ. This release of Apache ActiveMQ includes a large number of new features Changes in 4.0 such as MasterSlave and Message Groups together with numerous bug fixes. Warnings When upgrading from a previous release you ...
ActiveMQ 4.0.1 Release
You are previewing the release page for unreleased version of ActiveMQ. The download links on the page below will not work until it is offically released. Until the release is approved you could try the current build: http://people.apache.org/chirino/incubatoractivemq4.0.1RC1/maven1/incubatoractivemq/distributions/ > New and Noteworthy ...
ActiveMQ 4.0.2 Release
New and Noteworthy This is a minor bug fix release. All previous installations of Apache ActiveMQ 4.0.1 are recommended to upgrade to this release. Download Here Description Download Link PGP Signature file of download Binary for Windows incubatoractivemq4.0.2.zip http://people.apache.org/repository ...
ActiveMQ 4.1.0 Release
http://activemq.apache.org/activemq410release.data/activemq4.1boxreflection.png! New and Noteworthy This is release contains several major enhancements such as: Virtual Destinations JDBC based Master/Slave locking XMPP/Jabber Support ActiveMQ can now send and receive message from a XMPP network ...
ActiveMQ 4.1.1 Release
http://activemq.apache.org/activemq410release.data/activemq4.1boxreflection.png! New and Noteworthy Contains slew of bug fixes that are tracked in the change log. Getting the Binary Distributions Description Download Link PGP Signature file of download Windows Distribution apacheactivemq4.1.1.zip http://www.apache.org/dyn/closer.cgi ...
ActiveMQ 4.1.2 Release
http://activemq.apache.org/activemq410release.data/activemq4.1boxreflection.png! New and Noteworthy Contains slew of bug fixes that are tracked in the change log. Getting the Binary Distributions Description Download Link PGP Signature file of download Windows Distribution apacheactivemq4.1.2bin.zip http://www.apache.org/dyn/closer.cgi ...
ActiveMQ 5.0.0 Release
activemq5.xboxreflection.png! Getting the Binary Distributions Description Download Link PGP Signature file of download Windows Distribution apacheactivemq5.0.0.zip http://www.apache.org/dyn/closer.cgi/activemq/apacheactivemq/5.0.0/apacheactivemq5.0.0.zip (no Safari) apacheactivemq5.0.0.zip.asc http://www.apache.org/dist/activemq/apacheactivemq/5.0.0/apacheactivemq5.0.0.zip.asc Unix ...
ActiveMQ 5.1.0 Release
http://activemq.apache.org/activemq500release.data/activemq5.xboxreflection.png! Getting the Binary Distributions Description Download Link PGP Signature file of download Windows Distribution apacheactivemq5.1.0bin.zip http://www.apache.org/dyn/closer.cgi/activemq/apacheactivemq/5.1.0/apacheactivemq5.1.0bin.zip (no Safari) apacheactivemq5.1.0bin.zip.asc http://www.apache.org/dist/activemq ...
ActiveMQ C Development
ActiveMQ CPP Development Page This page documents current and planned development of ActiveMQ CPP.  The table below lists development tasks and their current status Development Activeity \\ Status \\ Openwire Support \\ inprogress \\  Openwire Support This task adds ...
ActiveMQ C++ Clients
ActiveMQ C Integration CMS http://activemq.apache.org/cms/ is an easytouse JMS 1.1like API. Our implementation of CMS is called ActiveMQCPP, the architecture for which supports pluggable transport protocols, very much like the ActiveMQ broker itself
ActiveMQ Command Line Tools Reference
Command Line Tools activemq #activemq \ runs an activemq broker shutdown #shutdown \ shutdowns an activemq broker list #list \ lists all running brokers in the specified JMX context query #query \ queries the JMX context for broker ...
ActiveMQ Message Properties
ActiveMQ Messages support the following default message properties: Message attributes accessed as properties: Property Name type default value description JMSDestination javax.jms.Destination set by the producer Destination used by the producer JMSReplyTo javax.jms.Destination null user defined JMSType ...
ActiveMQ Performance Module Users Manual
Running Maven 2 Performance Test This Maven 2 http://maven.apache.org plugin allows you to run performance tests easily using the Maven command line or run tests automatically in Continuum http://maven.apache.org/continuum/ Prerequisites Currently we ...
activemq.dtd
We support a custom Xml Configuration mechanism for configuring a Message Broker instance. To provide tools and IDEs with an easy way of editing the XML as well as providing some handy documentation, we provide our own activemq.dtd http://svn.activemq.org ...
ActiveSoap
idea is to provide a really simple & lightweight SOAP stack which can be extended & connected to any transport and binding technology. Pluggable transports With ActiveMQ we've got most common transports covered (TCP, SSL, UDP, multicast, JGroups, JRMS ...
ActiveSpace
Note that the ActiveSpace documentation has now has moved to its own wiki http://docs.codehaus.org/display/AS/Home
Advisory Message
ActiveMQ supports advisory messages which allows you to watch the system using regular JMS messages. Currently we have advisory messages that support consumers, producers and connections starting and stopping temporary destinations being created and destroyed messages ...
Advisory Support in ActiveMQ 3
users of Apache ActiveMQ 4.0 or later please see Advisory Message. In previous 3.x versions the following is supported: The destination string constants are available in ActiveMQDestination http://activemq.codehaus.org/maven/apidocs/org/activemq/message/ActiveMQDestination.html ActiveMQDestination.CONSUMERADVISORYPREFIX ActiveMQDestination.PRODUCERADVISORYPREFIX ActiveMQDestination.CONNECTIONADVISORYPREFIX ...
Ajax
Introduction ActiveMQ supports Ajax http://en.wikipedia.org/wiki/Ajax%28programming%29 which is an Asychronous Javascript And Xml mechanism for real time web applications. This means you can create highly real time web applications taking ...
AMQ Message Store
Basics This is the default storage for AcitveMQ 5 and above. The AMQ Message Store is an embeddable transactional message storage solution that is extremely fast and reliable. message commands are written to a transactional journal which consists of rolling data logs which means ...
AMQP
AMQP The AMQP protocol http://www.amqp.org/ is an attempt to define a standard wire level protocol for messaging. The AMQP Working Group has released two versions of the standard so far, 0.8 and 0.9, and both are freely available. The AMQP Working ...
Apache ActiveMQ Board Report - April 2008
Status report for the Apache ActiveMQ Project Community: The ActiveMQ community continues to stay vibrant with a very healthy amount of email traffic flowing through it's email lists. It has also added several new committers to it's ranks. New Committers: Jim ...
Apache ActiveMQ Board Report - August 2007
Status report for the Apache ActiveMQ Project July board report was missed in part due to a change in PMC chair. Community: The developer and user communities remain very active. New committer added: Albert Strasheim Development: The CMS API has ...
Apache ActiveMQ Board Report - January 2008
Status report for the Apache ActiveMQ Project Community: Nicky Sandhu and Hadrian Zbarcea were voted in and accepted becoming ActiveMQ committers A code grant was accepted for an NMS implementation that access Tibco EMS. The development and user lists continue to stay ...
Apache ActiveMQ Board Report - October 2007
Status report for the Apache ActiveMQ Project Community: The developer and user communities remain very active. The Camel project, NMS project, and recent release candidate for ActiveMQ 5.0 have generated much mailing list activity. A code grant has ...
Apache ActiveMQ Board Reports
current ActiveMQ reporting schedule is: January, April, July, October
Are destinations case sensitive
seems to be no consensus on whether JMS providers should use case insensitive destination names. Since most names in Java & J2EE are case sensitive (class names, JNDi names, file names (on many unix operating systems), URIs and URLs ...
Are messages read directly from the journal
Kind of. A message can be loaded directly from the journal if it was swapped out of memory. The journal cannot be used, however, to recover a durable subscription as it does not keep an ordered index of messages per durable sub. So when a durable sub ...
Articles
Articles on Apache Camel http://activemq.apache.org/camel/ ScreenCast: an introduction to Apache Camel http://activemq.apache.org/camel/ and the use of Enterprise Integration Patterns http://activemq.apache.org/camel/enterpriseintegrationpatterns.html in Medium Resolution http://open.iona.com/resources/videoarchivedwebinars/camelscreencast1mediumresolution/ or High Resolution ...
Async Sends
Background ActiveMQ supports sending messages to a broker in sync or async mode. The mode used has a huge impact in the latency of the send call. Since latency is typically a huge factor in the throughput that can achieved by producer, using async sends can ...
Axis and CXF Support
ActiveMQ supports both Apache Axis http://ws.apache.org/axis/ and the incubating Apache CXF http://incubator.apache.org/cxf out of the box. Just add the required jars Initial Configuration to your classpath and you should be able to use JMS transport ...

B

Banner
div id="asflogo">

C

C Integration
very common for an organisation to have lots of legacy C code which needs integration into the message bus. The current available solutions are CMS is an easytouse JMS 1.1like API for C. Our implementation of CMS is called ActiveMQCPP, the architecture ...
C integration scenarios
One way and RPC with C services Its common for the C services to be the back end services. The 2 common use cases are we send a message oneway to a C service we send a message to a Cservice and wait for the result, then reply back ...
Can I get commercial support
Can I get commercial support? Absolutely, see our Support page for more details
Can I modify messages on a queue
Can I modify messages on a queue? The short answer is no. In JMS messages are immutable once they have been sent. If you find you need to modify messages its recommended that you create a consumer with some selector which matches the messages ...
Can I send and receive messages concurrently on one JMS Connection
Absolutely! Strictly speaking each producer being used concurrently should be using a separate session (though in ActiveMQ it'll probably work fine if you just use one session for all publishers). For concurrent consumption create a session per ...
Can I send really large files over ActiveMQ
Can I send really large files over ActiveMQ The answer is yes. If you are using ActiveMQ 4.2 or later we highly recommend you use Blob Messages which implements an out of band transport of the messages; it allows ...
Can I use ActiveMQ 5.x or later on Java 1.4
Can I use ActiveMQ 5.0 or later on Java 1.4? Apache ActiveMQ 5.x or later is developed to run on Java 5 or later to take advantage of the new language features together with the major fact that on Java 5 the new concurrency code ...
Can two brokers share the same database
Can two brokers share the same database The short answer is no; 2 brokers cannot operate on the same sets of database tables concurrently. ActiveMQ is designed for high performance so we want to minimise the amount of pessimistic locking; each broker ...
Can you browse a topic
You can browse queues, can you browse a topic? No. But then consuming messages on a topic does not affect any other consumers, so you don't need to 'browse' per se, just subscribe. i.e. browsing is necessary on queues as you ...
certificate_unknown
you get an error something like this... javax.jms.JMSException: start failed: Received fatal alert: certificateunknown at org.activemq.transport.tcp.TcpTransportChannel.start(TcpTransportChannel.java:200) at org.activemq.broker.impl.BrokerConnectorImpl.addClient(BrokerConnectorImpl.java:308) at org.activemq.transport.TransportServerChannelSupport.addClient(TransportServerChannelSupp at org.activemq.transport.tcp.TcpTransportServerChannel.run(TcpTransportServerChannel.java:1 at java.lang.Thread.run(Unknown Source) Caused by: javax.net.ssl.SSLHandshakeException: Received ...
Changes in 4.0
New Features in 4.0 MasterSlave provides support for continuous availability and fault tolerance of brokers to be able to handle catastrophic hardware failure and not loose a message (or get duplicates). A new Exclusive Consumer feature allows you to pin message processing to a single ...
Class Diagrams for activemq-4.0-M4 source code
Class Diagrams for activemq4.0M4 source code. These diagrams cover the bulk of the source code and are in EMF format.  http://docs.codehaus.org/download/attachments/50288/ClassDiagramsactivemq4.0M4.zip Note about conversion to other formats:  Some files when converted to something like JPG ...
Clustering
Clustering is a large area and often means different things to different people. We'll try to list the various aspects of clustering and how they relate to ActiveMQ Queue consumer clusters We support reliable high performance load balancing of messages on a queue ...
CMS
page has moved here http://activemq.apache.org/cms
Code Overview
Architecture The following section walks through the main parts of Apache ActiveMQ and links to the code to help you understand the layout !http://activemq.apache.org/images/BrokerDiagram.png! JMS Client The org.apache.activemq http://incubator.apache.org/activemq/maven/activemqcore/apidocs/org/apache ...
Command Agent
Command Agent From 4.2 onwards Apache ActiveMQ allows you to communicate with a broker Command Agent to be able to perform administration queries and commands. This allows you to use the message bus itself to communicate with the message broker to list available queues ...
Community
Compile ActiveMQ with GCJ
You can use GCJ http://gcc.gnu.org/java/ to build ActiveMQ as a shared library you can reuse from C. Native compile ActiveMQ HOWTO Abstract This document describes how to native compile ActiveMQ for use in a C environment ...
Composite Destinations
version 1.1, ActiveMQ supports a technology we call composite destinations. This allows a single virtual JMS Destination to be used to represent a collection of JMS Destinations. For example you can use composite destinations to send a message to 12 physical queues ...
Configuration
Questions on configuring ActiveMQ's JMS client or the Message Broker
Configure Startup Destinations
Typically in Apache ActiveMQ we create destinations on demand How do I create new destinations as clients start to use them. However sometimes users want to be able to configure which destinations are available on startup explicitly in the Xml Configuration ...
Configure version 5 Brokers
Overview There is an updates XML syntax for configuring message brokers see here http://activemq.apache.org/schema/core/activemqcore5.0SNAPSHOT.xsd So we decided that using XML would make this configuration much easier. we use XBean http://xbean.org ...
Configuring ActiveMQ CPP
configuration of ActiveMQ is so slick, we decided to take a similar approach with ActiveMQCPP. All configuration is achieved via URIencoded parameters, either on the connection or destinations. Through the URIs, you can configure virtually every facet of your ActiveMQCPP client ...
Configuring Brokers
Overview In ActiveMQ 4, we are using a new xml format to configure the broker. Syntax The following xsd describes the syntax of the broker configuration file. activemq4.0.xsd And here is the reference documentation for that xsd file. activemq4.0.xsd.html Example Configuring Transports
Transport configuration options One of the first kinds of URI you are likely to use is a transport URI to connect to a broker using a kind of transport. Generally TCP or VM are the first transports you'll use. All of the following URI configurations are based on the java.net.URI ...
Configuring Version 5 Transports
Configuring Wire Formats
OpenWire Wire Format OpenWire is the default Wire Format that ActiveMQ uses.  It provides a highly efficent binary format for high speed messaging.  OpenWire options can be configured on a JMS client's connection URI string or on a Brokers transport ...
Connection Configuration URI
Connection Configuration URI An Apache ActiveMQ connection can be configured by explicitly setting properties on the ActiveMQConnection http://incubator.apache.org/activemq/maven/activemqcore/apidocs/org/apache/activemq/ActiveMQConnection.html or ActiveMQConnectionFactory http://incubator.apache.org/activemq/maven/activemqcore/apidocs ...
Connection Factory Properties
outbound' Connection Factory objects used to send messages by default use the connection configuration properties of the Resource Adapter deployment, but those properties can be overridden per connection factory. The Connection Factory properties that can be configured are: Property Name Required ...
Connectivity
Apache ActiveMQ is designed to support a large number if Cross Language Clients, speak a wide range of Protocols and be usable in a wide variety of Containers in addition to being usable in a stand alone Java SE platform
Consumer Dispatch Async
Overview In AMQ4, the choice of a broker performing synchronous or asynchronous dispatch to a consumer has become more configurable. It is now configured as a default value on the connection URI, Connection and ConnectionFactory Connection Configuration URI together with being customizable on a per consumer basis ...
Consumer Features
Consumer Priority
Background As well as having a pluggable dispatch policy (e.g. round robin etc), we now support consumer priorities. This allows us to weight consumers to optimise network hops. For example, you typically want a broker to send messages to regular ...
Containers
page lists the various containers that Apache ActiveMQ works inside
Contributing
many ways you can help make ActiveMQ a better piece of software please dive in and help\! Try surf the documentation if somethings confusing or not clear, let us know. Download the code & try it out and see what you think ...
Could not find PacketReader for packet type - UNKNOWN PACKET TYPE
Error Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 102 Reason You are probably using different versions of ActiveMQ jars on the client and the broker. Try using the same jars on each node and the problem should go away ...
Cross Language Clients
Apache ActiveMQ is a message broker written in Java together with a full JMS client. However Apache ActiveMQ is designed to communicate over a number of protocols such as Stomp and OpenWire together with supporting a number of different language specific clients. Language Clients Apart ...
CVS
Web Browsing of CVS To browse CVS via the web use the FishEye interface http://cvs.activemq.codehaus.org/ CVS Access behind a firewall For those developers who are stuck behind a corporate firewall, you could try ask your firewall administrator ...

D

Delphi and FreePascal
Delphi and FreePascal Client Habari ActiveMQ Client is a library for Delphi(tm) and Free Pascal. With Habari, applications can connect to Apache ActiveMQ servers, subscribe to queues and topics, send and receive messages and objects, and work with transactions. Supported Communication Libraries ...
Design Documents
Slow Consumers Durable Queue Memory Management Supporting IO Streams Message Redelivery and DLQ Handling Multicast Transport Proposed C Client Architecture REST protocols
Destination Features
Destination Options
Background Destination Options are a way to provide extended configuration options to a JMS consumer without having to extend the JMS API. The options are encoded using URL query syntax in the destination name that the consumer is created on. Consumer Options Option Name Default ...
Developer Guide
following documents might be interesting Building Release Plans Release Guide Design Documents Changes in 4.0 Apache ActiveMQ Board Reports Code walkthrough Code Overview Wire Protocol Developing Plugins
Developers
Developing ActiveMQ
Questions for developers wishing to extend or enhance Apache ActiveMQ
Developing Plugins
Apache ActiveMQ is based on the model of POJOs and Dependency Injection. If you are developing Interceptors or additional components or plugins for ActiveMQ then the first thing you should do is develop the code as if you are writing any other Spring component, using dependency injection ...
Discovery
Discovery Agents ActiveMQ uses an abstraction called a Discovery Agent http://actievmq.apache.org/maven/activemqcore/apidocs/org/apache/activemq/transport/discovery/DiscoveryAgent.html to detect remote services such as remote brokers. We can use discovery for JMS ...
Discovery Transport Reference
Discovery Transport The Discovery transport works just like the reliable transport, except that it uses a discovery agent to locate the list of uri to connect to. Configuration Syntax discovery:(discoveryAgentURI)?transportOptions or discovery:discoveryAgentURI Note that to be able to use Discovery to find brokers ...
Discussion Forums
Before posting you might want to read the Tips for getting help. Many users prefer to use online forums rather than joining a mail list which can lead to lots more email traffic so we use ...
Dispatch Policies
Dispatch Policies ActiveMQ 4.0 or later supports the configuration of different dispatch policies on a per destination (or wildcard) basis. Before discussing dispatch policies its worth first understanding the purpose of the prefetch value What is the prefetch limit for. The out of the box ...
Does ActiveMQ support clustering
Yes, though there are various kinds of clustering. See this page on details Clustering
Does ActiveMQ support my SQL database
Quite possibly :). See the JDBC Support page for details of how to configure for your database or how to let us know of a database which does not work. Also see Persistence
dot Net
Download
Latest Releases The latest stable release is the ActiveMQ 5.1.0 Release Help us test the latest SNAPSHOTS http://people.apache.org/repo/m2snapshotrepository/org/apache/activemq/apacheactivemq/ All Releases Maven Repositories All ActiveMQ releases are available from the Maven central ...
Downloading ActiveMQ CPP
ActiveMQ CPP distributions are sourceonly. To get the source bundle for a particular release, go here Download. Follow the instructions here only if you want the bleeding edge from trunk. Web Browsing of SVN To browse via the web use the ViewVC ...
DR
Disaster Recovery. Typically this means having multiple data centres configured such that if there is a major catastrophy and an entire data centre is lost, messages are replicated to another location so the systems can continue running
Durable Queue Memory Management
current 3.x code can have issues with massive queues with unacknowledged messages; its complex due to consumption from multiple points in the queue, consumers coming & going, selectors matching only certain points in the queue etc. This page outlines ...

E

Enterprise Integration Patterns
Enterprise Integration Patterns Version 5.0 onwards of Apache ActiveMQ comes complete with full support for the Enterprise Integration Patterns http://www.enterpriseintegrationpatterns.com/toc.html (from the excellent book by Gregor Hohpe http://www.amazon.com/exec/obidos/searchhandleurl/10597967988100401?%5Fencoding=UTF8 ...
Errors
Questions on specific kinds of errors. If you have seen a specific exception then check the Exceptions
Example Testing Scenario
ActiveMQ Performance Module Users Manual ActiveMQ Performance Module Users Manual Example Testing Scenario This page gives a simple example of the kinds of thing we wanna do. Assuming that all the test code is within a single Maven POM ...
Examples
Before running the examples you should try running a JMS broker Run Broker on your machine. Follow the Installation instructions to use a binary distribution of ActiveMQ. Then to run the broker in a command shell (from the bin directory) type activemq Running ...
Exceptions
Questions Java Exceptions (when you get a nasty stack trace while working with ActiveMQ
Exclusive Consumer
Background We maintain the order of messages in queues and dispatch them to consumers in order. However if you have multiple JMS Sessions and MessageConsumer instances consuming from the same queue (whether in the same JVM or not), you will loose the guarrentee of processing the messages ...

F

Failover Transport Reference
Failover Transport The Failover transport layers reconnect logic on top of any of the other transports. This is what used to be the Reliable transport in ActiveMQ 3. It's configuration syntax allows you to specify any number of composite uris. The Failover transport randomly chooses ...
Fanout Transport Reference
Fanout Transport The Fanout transport layers reconnect and replication logic on top of any of the other transports. It is used replicate commands to multiple brokers. Configuration Syntax fanout:(discoveryURI)?transportOptions or fanout:discoveryURI Transport Options Option Name Default Value ...
FAQ
FAQ Here are a list of commonly asked questions and answers. If you have any questions which are not on this list, please talk to us on the forums Discussion Forums. We welcome contributions Contributing and this entire website is a wiki that you can edit How ...
Features
Apache ActiveMQ Features Apache ActiveMQ is packed with features; to get an idea you might want to look at the Features Overview otherwise here is the list of all of the main features
Features Overview
Supports a variety of Cross Language Clients and Protocols Cross Language Clients from Java, C, C, C#, Ruby, Perl, Python, PHP OpenWire for high performance clients in Java, C, C, C# Stomp support so that clients ...

G

General
General questions about ActiveMQ
Geronimo
ActiveMQ is the default JMS provider in Apache Geronimo http://geronimo.apache.org. ActiveMQ can be used both as JMS Client and a JMS Broker. This short article explains how to use it on a standalone client to access the topics/queues setup on a remote Geronimo/ActiveMQ ...
Getting Started
Introduction This document describes how to install and configure ActiveMQ 4.x/5.x for both Unix and Windows' platforms. Document Organization The Getting Started Guide for ActiveMQ 4.x document contains the following sections: #Introduction #Document Organization #PreInstallation Requirements #Installation Procedure ...
Getting Started 3.x
Introduction This document describes how to install and configure ActiveMQ 3.x for both Unix and Windows' platforms. Document Organization The Getting Started Guide for ActiveMQ 3.x document contains the following sections: #Introduction #Document Organization #PreInstallation Requirements #Installation Procedure ...
Getting+Started+3.x
testing

H

HA
High Availability. This typically refers to having a number of available instances of a service (such as a Message Broker) such that if the instance you're connected to fails, you can failover quickly to another instance providing high availabliity and resilience
Hello World
following is a very simple JMS application with multiple, concurrent, consumers and producers. See the Initial Configuration guide for details on how to setup your classpath correctly. Things you might do after running this example: Setup a broker Run Broker ...
Hermes Jms
You can use ActiveMQ with Hermes JMS http://hermesjms.sourceforge.net/ which is a graphical user interface for working with JMS queues. Please refer to the Hermes JMS http://hermesjms.sourceforge.net/ site for detailed instructions on using this software. Demo Mark Bucayan kindly ...
Hermes Screenshot
following is an example of running HermesJms with ActiveMQ on OS X !http://activemq.codehaus.org/hermes.png
How can I add a new type of transport
ActiveMQ is specifically designed to allow custom transports to be plugged in. You can programatically create TransportConnector instances and add them to the BrokerService in Java code using the BrokerService.addConnector() method http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/BrokerService.html ...
How can I avoid serialization of Objects in ObjectMessage
Use the VM transport and see details on how to disable serialization to pass by value How should I use the VM transport
How can I contribute
How can I contribute to Apache ActiveMQ
How can I enable detailed logging
How can I enable detailed logging We use commonslogging so you can use that to enable debug tracing http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/impl/SimpleLog.html. Or if you've got log4j.jar ...
How can I get a list of the topics and queues in a broker
How can I get a list of the topics and queues in a broker? As of 5.1.0 you can use the new DestinationSource http://activemq.apache.org/maven/activemqcore/apidocs/org/apache/activemq/advisory/DestinationSource.html on an ActiveMQConnection to access the available queues or topics ...
How can I get help
How can I get the source code from subversion
How can I make ActiveMQ faster
See the ActiveMQ Tuning Guide http://www.logicblaze.com/content/view/113/185
How can I monitor ActiveMQ
How can I monitor ActiveMQ In ActiveMQ 4.x you can monitor the broker to see what destinations are being used, their activity along with connections and subscriptions using the following tools JMX and a JMX console such as jconsole http://java.sun.com/developer ...
How can I monitor the connection with the broker
How can I monitor the connection with the broker You can monitor the status of the connection with the broker via the addTransportListener() method on the ActiveMQConnection http://activemq.apache.org/maven/activemqcore/apidocs/org/apache/activemq/ActiveMQConnection.html#addTransportListener(org.apache.activemq.transport.TransportListener). This method takes a TransportListener ...
How can I see what destinations are used
easiest way is to use JMX by pointing your JMX console or JConsole at the broker JVM. You can also get all of the active destinations from the broker using Java code via getDestinations() http://activemq.apache.org/maven/activemqcore/apidocs ...
How can I support auto reconnection
How can I support auto reconnection? Networks are unreliable and sockets do get dropped from time to time (it could be a network glitch, dodgy router, firewall, or someone could even just restart a broker). You often want ...
How can I support priority queues
How can I support priority queues? A common requirement is to support priority consumption; so high priority messages are consumed before low priority. Right now ActiveMQ doesn't automatically reorder messages on a queue based on their priority; which ...
How can I use different network protocols
easy configuration, ActiveMQ supports a configurable URL to denote the connection mechanism to other clients. There is an example of how to do this along with a description of the available protocols in the Protocols overview URI Protocols
How do distributed queues work
various Topologies that you can employ with ActiveMQ, where clients are connected to message brokers in various ways like peer based client server hub and spoke Each client communicates with a broker over using some kind of client library ...
How do durable queues and topics work
Durable queues keep messages around persistently for any suitable consumer to consume them. Durable queues do not need to concern themselves with which consumer is going to consume the messages at some point in the future. There is just one copy of a message that any ...
How do I access ActiveMQ from C
See the C Integration page for the available options
How do I access ActiveMQ from CSharp or dotNet
How do I access ActiveMQ from Ruby, Perl, Python, PHP
Use Stomp http://stomp.codehaus.org/ which is a simple to implement client protocol for working with ActiveMQ and other messaging systems
How do I add my own plugins
See Developing Plugins for how to add your own functionality into Apache ActiveMQ
How do I avoid Maven downloading latest jars
You can use the \o switch (for offline mode) to avoid maven autodownloading new snapshot jars (e.g. the Geronimo jars at the time of writing). maven o or to run a server go to the \assembly module and run maven o server
How do I bridge different JMS providers
bridge from ActiveMQ to another JMS provider (or other kind of transport completely), we recommend ServiceMix http://servicemix.org/ the Apache 2.0 licensed open source JBI compliant ESB. For example here is an example http://servicemix.org/JMS ...
How do I build but disable the unit tests
How do I build but disable the unit tests The test cases in ActiveMQ can take a very long time to run! :) To disable this you can try the following mvn install Dmaven.test.skip=true
How do I change dispatch policy
much simpler and more powerful in ActiveMQ 4.0 you can configure different Dispatch Policies directly. For now in ActiveMQ 3.x we have a PrefetchPolicy configuration What is the prefetch limit for. This allows a certain number of messages to be dispatched to a consumer before ...
How do I change the logging
How do I change the logging We use commonslogging http://jakarta.apache.org/commons/logging/ to log information in the broker client and the broker itself so you can fully configure which logging levels are used and whether to log to files ...
How do I change the message store directory for an embedded broker.
Embedded brokers create an ActiveMQ directory under the current working directory to store it's persistent message data. To change the location of the directory used by the message store, set the activemq.store.dir system property to the directory you want it to use. Example: java ...
How do I compile from the source
How do I compile from the source code? See the Building page
How do I configure ActiveMQ to use AIO server transport
Windows XP: 1. Download AIO (Asynchronous IO for Java) from IBM (http://www.alphaworks.ibm.com/tech/aio4j). 2. Unzip the downloaded file and copy the following files: ibmaio.dll ibmaio1.0.jar 3. Place ibmaio.dll into Windows System32 folder. (You may ...
How do I configure automatic reconnection
JMS broker goes down, ActiveMQ can automatically reconnect to an available JMS broker using the failover: protocol. Not only does this automatically reconnect, it will also resume any temporary destinations, sessions, producers and most importantly consumers. All ...
How do I configure distributed queues or topics
How do I configure distributed queues or topics You don't need to explicitly configure distributed queues or topics How do I configure the queues I want as any queue or topic is automatically distributed across other brokers ...
How do I configure the queues I want
ActiveMQ there is no real resaon to explicitly setup/configure the queues you are gonna need. If you try to publish or subscribe from any queue or topic it will be silently created on the fly. Sometimes people put destinations into JNDI so that they can be pulled out ...
How do I connect to one of a number of message brokers
You can specify a list of URLs to connect to (for example if you have message brokers running on a number of machines). To specify a list of URLs, use a comma separated list of URLs with a prefix of list:. e.g. list:tcp://localhost:61699,tcp://localhost ...
How do I consume a specific message
you want to consume messages in a different order, or consume specific messages at the head, middle or tail of the queue, you can browse the messages using the QueueBrowser to find the JMSMessageID's of the messages you want to consume create a new consumer with a selector matching ...
How do I create new destinations
ActiveMQ you do not have to create destinations up front before you can use them. Just create a destination dynamically either by calling createQueue() or createTopic() on a JMS Session creating an instance of ActiveMQTopic or ActiveMQQueue and possibly registering ...
How do I define a local address and local port for TCP or SSL
feature is only available in ActiveMQ 4.0   TCP based transport protocols (including SSL) allow you to define the local address and local port for Socket to use when it's created. This can be useful for clients that reside on multihomed machines or for clients ...
How do I delete a destination
How do I delete a destination via Java code or JMX you can grab the BrokerViewMBean http://activemq.apache.org/maven/activemqcore/apidocs/org/apache/activemq/broker/jmx/BrokerViewMBean.html and call one of the following methods removeQueue(String ...
How do I disable logging
How do I disable logging? See How do I change the logging
How do I disable persistence
three main ways to disable persistence, such as for unit testing JMS code # Set the NONPERSISTENT message delivery flag on your MessageProducer # Set the persistent=false flag in the element of the Xml Configuration or on the property BrokerService http://incubator.apache.org/activemq/maven ...
How do I edit the website
website is all contained on a Wiki so that anyone can contribute Contributing How to edit You can also click the edit button when viewing the website which is located on the bottom of each page. We have been attacked by spammers ...
How do I embed a Broker inside a Connection
many messaging topologies there are JMS Brokers (server side) and a JMS client side. Often it makes sense to deploy a broker within your JVM. This allows you to optimise away a network hop; making the networking of JMS as efficient as pure RMI ...
How do I enable asynchronous sending
default setting for ActiveMQ is that all persistent messages outside of a transaction are sent to a broker are synchronous. This means that the send method is blocked until the message is received by the broker, its then written to disk then a response is returned to the client and the send() unblocks with success or throws a JMSException ...
How do I enable debug logging
How do I enable debug logging? For background see How do I change the logging. You can enable debug logging in ActiveMQ by adding the followiong line to the conf/log4j.properties file log4j.logger.org.apache.activemq=DEBUG
How do I find the Size of a Queue
How do I check on the size of the queue? I know it's not JMS standard, but most JMS implementations have a way to do this. You can view the queue depth using the MBeans in ActiveMQ 4.x. Use any JMX management console ...
How do I get started with JMS
How do I get started with JMS Your best way to get started understanding the JMS API is Sun's JMS tutorial http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JMS.html#wp84181. Alternatively you could stick to writing business ...