The Destination Flow Control Plugin: =================================== This plugin allow to to enforce flow control limits, by defining the following : - MaxSizePerMessage : Specifies the maximum length of a message that can be transmitted. - MaxMessagesPerQueue: Number of maximal de messages authorized in the queue. The value should be comprise from 0 to 99999999. - MaxProducersPerQueue: Number of maximal producers per queue. Below is an example of a basic configuration: <plugins> <bean xmlns="http://www.springframework.org/schema/beans" id="FlowControlQueuePlugin" class="com.abouchama.activemq.FlowControlQueuePlugin"> <property name="MaxSizePerMessage" value="400000" /> <property name="MaxMessagesPerQueue" value="99" /> </bean> </plugins> The Broker Resources Control Plugin: =================================== This plugin allow to control resources of the broker, by specifying some limits like: - MaxQueues: maximum of queues per broker. - MaxMessages: maximum of messages per broker. - MaxProducers: Number of maximal producers per Broker. - MaxConsumers: Number of maximal consumers per broker. Below is an example of a basic configuration: <plugins> <bean xmlns="http://www.springframework.org/schema/beans" id="BrokerResourcesControlPlugin" class="com.abouchama.activemq.BrokerCapacityPlugin"> <property name="MaxQueues" value="99" /> <property name="MaxMessages" value="9999" /> <property name="MaxProducers" value="50" /> <property name="MaxConsumers" value="100" /> </bean> </plugins> The association of these 2 plugins allow to determine the capacity of the broker, that can be provisioned based on simple monitoring solution. For more help see the blog : http://a-bouchama.blogspot.fr/ Enjoy ;)
okolorevanchik/activemq_flow_control_plugins
ActiveMQ Flow Control Plugins: is the association of 2 plugins that allows you to enforce the flow control and to determine the capacity of the broker.
Java