activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aparsuri <s...@ict.usc.edu>
Subject Re: Problem with producer flow control and message dropping
Date Tue, 06 Dec 2011 19:11:17 GMT

Torsten Mielke-2 wrote
> 
> Do you want to send queue or topic msgs? You mention queue msgs in your
> mail but the policy configuration in your broker only disables flow
> control for topic, not for queues.
> 

I am in fact using only topics. I have publishers who broadcast the messages
and subscribers who subscribe to specific topics.


Torsten Mielke-2 wrote
> 
> The general idea is to disable flow control and specify a large enough
> storeUsage limit (for persistent msgs, e.g. queue msgs) or tempUsage limit
> (for non-persistent msgs). 
> 
I am only using non-persistent messages and as you can see from the config.
I have given enough tempUsage so that the producer does not slow down but,
if I remove the messageEvictionStrategy, the producers tend to slow down
even though I have producer flow control turned off.



Torsten Mielke-2 wrote
> 
> There is not need to configure a pendingMessageLimitStrategy or
> messageEvictionStrategy unless you want the broker to discard messages at
> some stage (which - from your description - does not seem to be a
> requirement)
> 
But if I do remove the pendingMessageLimitStrategy /
messageEvictionStrategy, what will happen when the tempUsage memory is
reached? 


--
View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-producer-flow-control-and-message-dropping-tp4161641p4166073.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message