On 10/17/2017 03:55 AM, ubaid wrote:
> I am using activeMQ v5.15.0 integrated in mule application with JMS. I want
> to get first 50 messages from the queue, how to set that windowSize and
> where to configure this setting.
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html >
This seems like question you should be asking the Mule folks, this forum
is for supporting ActiveMQ proper.
so you are saying that we cannot limit the consumer with the messages he is
getting at once from activeMQ. I asked this question on this forum because I
found a parameter consumerWindowSize in the Apache ActiveMQ documentation
for limiting the consumer buffer. What I'm not getting is where to place
that parameter on Apache ActiveMQ server side.
you can have a look at this
*Windows Based Flow Control*
You are very unclear with requirements, but if you want to limit how many
messages are buffered on a consumer side, then in ActiveMQ 5.x it's called
'prefetch limit'. Params can be passed via connection URI (for all
destinations), or along destination name as a destination option. A very
detailed explanation is here: