Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Abandoned
-
None
-
None
-
n/a
-
Patch Available
Description
For packaging scenarios where MDB endpoints are deployed along with EJB's and WARs in an EAR but you don't want the queues to be activated on some servers this patch provides a system property that allows you to disabled endpoint activation.
Setting the system property 'activemq.endpoints.disabled' to true will stop queues from activating. For example:
java -Dactivemq.endpoints.disabled=true -jar myjar.jar
This is useful if you want to keep your deployment archive the same across multiple instances but reserve some servers for queue processing. The exclusive consumer functionality isn't sufficient because it limits you to one consumer.
See email thread titled "Patch to disable all Queues" on users@activemq.apache.org from 6/1/2011 for more details.