For non persistent topic messages there is the option to discard
pending messages.

For queue messages see:
http://activemq.apache.org/message-redelivery-and-dlq-handling.html

The default Dead letter policy will retain all persistent messages. It
is possible to configure whether expired messages
are retained.


On 21 October 2013 13:52, Sophia Wright <sophiawrigh...@gmail.com> wrote:
> Hi,
>
> I have questions regarding Discarded messages.
>
> 1. I am getting little confused about discarded messages. I searched for
> discarded message and got to know that -- In case of slow consumer when we
> are using pending message limit strategy, old messages are discarded as new
> messages come in.
>
> So Are the ONLY above message are considered as discarded messages, Are
> there some other messages also which are discarded from broker, ?
> can you please tell me in what scenario message is considered as discarded ?
>
> 2. Once a message is expired it is send to DLQ. What happens to the messages
> after that ?
> Are those messages kept in DLQ for some time and then discarded ?
>
> Thanks,
> Sophia
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Discarded-messages-and-Expired-messages-tp4673025.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://redhat.com
http://blog.garytully.com

Reply via email to