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 For details on how to configure 3.x transports see the ActiveMQ 3 Transport Configurations. The configuration of transports has changed a little from 4.x onwards. There now follows the 4.x configuration details. All of the following URI configurations ...
+ Transport configuration options The configuration of transports has changed a little from 4.x onwards. There now follows the 4.x configuration details. All of the following URI configurations are based on the java.net.URI class which does not allow whitespace to be used. So if you ...
Configuring Wire Formats
@@ -542,7 +551,7 @@
Connection Configuration URI
- Overview 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/org/apache ...
+ Overview 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/org/apache ...
Connection Factory Properties
@@ -554,7 +563,7 @@
Consumer Dispatch Async
- Overview In AMQ4, the choice of doing an async send to a consumer has actually become more configurable. It is now configured per consumer instead of per transport server. This makes more sense since you want to do async message ...
+ 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 Priority
@@ -597,7 +606,7 @@
Discovery
- Discovery Agents ActiveMQ uses an abstraction called a Discovery Agent http://activemq.codehaus.org/maven/apidocs/org/activemq/transport/DiscoveryAgent.html to detect remote services such as remote brokers. We can use discovery for JMS clients to autodetect a Message ...
+ Discovery Agents ActiveMQ uses an abstraction called a Discovery Agent http://incubator.apache.org/activemq/maven/activemqcore/apidocs/org/apache/activemq/transport/discovery/DiscoveryAgent.html to detect remote services such as remote brokers. We can use discovery ...
Discovery Transport Reference
@@ -606,6 +615,10 @@
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
@@ -791,7 +804,7 @@
How do I change dispatch policy
- much simpler and more powerful in ActiveMQ 4.0 you can configure the dispatch policy 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 they are acknowledged ...
+ 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
@@ -1004,7 +1017,7 @@
JMS to JMS Bridge
- Introduction ActiveMQ provides bridging functionality to other JMS providers that implement the JMS 1.0.2 and above specification. A JMS bridge can be colocated with an ActiveMQ broker or run remotely. In order to support JMS 1.0.2 there is seperation between Queues and Topics ...
+ Introduction ActiveMQ provides bridging functionality to other JMS providers that implement the JMS 1.0.2 and above specification. A JMS bridge can be colocated with an ActiveMQ broker or run remotely. In order to support JMS 1.0.2 there is seperation between Queues and Topics ...
JmsTemplate Gotchas
@@ -1071,7 +1084,7 @@
MasterSlave
- Master/Slave functionality is only available in the Apache ActiveMQ 4.0 release and above Introduction Master/Slave is now the recommended way for providing high availabilty and fault tolerance for Apache ActiveMQ. A Master/Slave configuration is ideal for a shared nothing, fully ...
+ Master/Slave functionality is only available in the Apache ActiveMQ 4.0 release and above Introduction Master/Slave is now the recommended way for providing high availabilty and simple fault tolerance for Apache ActiveMQ. A Master/Slave configuration provides a basic shared ...
Message Groups
@@ -1175,7 +1188,7 @@
Per Destination Policies
- We support a number of different policies which can be attached to individual destinations (queues, topics) or to wildcards of queue/topic hierarchies. This makes it easy to configure how different regions of the JMS destination space are handled. Here is an example http ...
+ We support a number of different policies which can be attached to individual destinations (queues, topics) or to wildcards of queue/topic hierarchies. This makes it easy to configure how different regions of the JMS destination space are handled. The following are examples of different policies ...
Performance
@@ -1228,7 +1241,7 @@
Release Guide
- How to create and announce an ActiveMQ release. Creating the ActiveMQ Release # Grab the latest source from SVN svn co svnssh:// https://svn.apache.org/repos/asf/incubator/activemq/trunk cd activemq Wiki Markup # Change the version ...
+ How to create and announce an ActiveMQ release. Maven 2 Setup Before you deploy anything to the maven repository using Maven 2, you should configure your /.m2/settings.xml file so that the file permissions of the deployed artifacts ...
Release Info
@@ -1358,7 +1371,7 @@
Stomp
- ActiveMQ supports the Stomp http://stomp.codehaus.org/ protocol. This makes it easy to write a client in pure Ruby http://stomp.codehaus.org/Ruby, Perl http://stomp.codehaus.org/Perl, Python or PHP for working with ActiveMQ. Please see the Stomp site http://stomp.codehaus.org/ for more ...
+ ActiveMQ supports the Stomp http://stomp.codehaus.org/ protocol. This makes it easy to write a client in pure Ruby http://stomp.codehaus.org/RubyClient, Perl http://stomp.codehaus.org/Perl, Python http://stomp.codehaus.org/PythonClients or PHP http://stomp.codehaus.org/PHPClient for working with ActiveMQ. Please ...
STP