activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Discarded messages and Expired messages.
Date Fri, 21 Sep 2018 12:38:28 GMT
The .... bit is not meant to be used literally; it means "whatever you had
already chosen to use here." Try replacing it with sharedDeadLetterStrategy.

However, that setting is for controlling the expiration of the message off
the DLQ, not for controlling the expiration of the message off the original
destination. Is that what you're trying to do, or were you really looking
for this:
http://activemq.apache.org/how-do-i-set-the-message-expiration.html?

Tim

On Fri, Sep 21, 2018, 1:46 AM Bob <malkanzz10@gmail.com> wrote:

> Hi sry to interrupt, is this the correct way to put expirration messages in
> dlq ?  Because once implement even broker is fail to run
>
> <broker>
>
>   <destinationPolicy>
>    <policyMap>
>      <policyEntries>
>        <policyEntry queue="QueueWhereItIsOkToExpireDLQEntries">
>          <deadLetterStrategy>
>            <.... expiration="300000"/>
>          </deadLetterStrategy>
>        </policyEntry>
>      </policyEntries>
>    </policyMap>
>   </destinationPolicy>
>
> </broker>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message