On 5/4/06, kitplummer <[EMAIL PROTECTED]> wrote: > > Ok, I'm a little confused on how to specify the the lastImage policy. Is it > possible to do this programmatically?
Sure - just set the policy map on a BrokerService... http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/BrokerService.html#setDestinationPolicy(org.apache.activemq.broker.region.policy.PolicyMap) or you could just use one of the example XML documents as a start http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq2.xml http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/policy/individual-dlq.xml -- James ------- http://radio.weblogs.com/0112098/
