Hi Paul,

Yes. You can use the setDestinationPolicy(PolicyMap) of the BrokerService object. You can see some examples on programmatically configuration destination policies here:

http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/

Regards,
Jonas

Paul Normington wrote:
I'd like to configure my destination policy map using java code rather than
an xml file - is this possible?

Reply via email to