activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Lim <j...@exist.com>
Subject Re: Is it possble to configure destination policies programatically
Date Wed, 22 Aug 2007 02:42:00 GMT
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?
>   

Mime
View raw message