You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Paul Normington <pa...@pandora.com> on 2007/08/22 03:15:36 UTC
Is it possble to configure destination policies programatically
I'd like to configure my destination policy map using java code rather than
an xml file - is this possible?
--
View this message in context: http://www.nabble.com/Is-it-possble-to-configure-destination-policies-programatically-tf4308832s2354.html#a12266350
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Is it possble to configure destination policies programatically
Posted by Jonas Lim <jl...@exist.com>.
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?
>