activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Special Topic/Queue...
Date Fri, 05 May 2006 04:53:30 GMT
On 5/4/06, kitplummer <kitplummer@gmail.com> 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/

Mime
View raw message