On 5/1/06, Litton, Tom - CEPM <[EMAIL PROTECTED]> wrote:
I have a few questions about how messages get redelivered. I'm using an 
embedded broker (in tomcat).  The version is 4.0 RC3.

1.  How do you configure the redelivery delay for all queues.  Right now i have 
the configuration:
    <destinationPolicy>
      <policyMap>
        <policyEntries>
          <policyEntry queue="*">
            <redeliveryPolicy initialRedeliveryDelay="10000" useExponentialBackOff="true" 
backOffMultiplier="5" maximumRedeliveries="5" />

BTW I've just checked the source code - AFAIK the redelivery policy is
not used on the server side - its purely on the client side - so this
entry will be ignored.

(we should really generate a warning if there are XML elements ignored
in XBean).

Your best bet to configure the redelivery policy is via the
ActiveMQConnectionFactory...
http://www.activemq.org/Message+Redelivery+and+DLQ+Handling

Unless you are using Jencks/MDPs
http://www.activemq.org/Resource+Adapter+Properties

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to