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: resend :how to config the max number of message that activemq keeped
Date Sat, 13 Feb 2016 16:48:19 GMT
The section of http://activemq.apache.org/slow-consumer-handling.html about
ConstantPendingMessageLimitStrategy says "This strategy uses a constant
limit for all consumers (above their prefetch size)".  What is your
consumer's prefetch size?
On Feb 2, 2016 6:03 PM, "wuwufen" <1767549189@qq.com> wrote:

> hey friend
>  i tyed the "<constantPendingMessageLimitStrategy limit="10"/>" but it
> seems
> dosn't work.
> 1   durable subscribe cliend offline
> 2   send more than 100 messages to the topic
> 3   durable subscribe cliend  online
> 4   the client still receive all the 100 messages i send.i just want to
> receive the   latest 10 messages.
>
> did i do something wrong or forget something?
>
> activemq    5.12.0
> cliend         org.fusesource.mqtt
>
>
>
> thank you
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/resend-how-to-config-the-max-number-of-message-that-activemq-keeped-tp4706821.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

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