Sorry, it works as expected in both scenarios.
nmurar01 wrote:
>
> The following entry in my activemq.xml doesn’t seem to work.
>
>
>
>
>
>
>
> memoryLimit=&qu
r to let it know that it
> can send more messages in the normal case.
>
> Also note that CLIENT_ACK mode will ack all messages received at that
> point, not just the current message. You need to use INDIVIDUAL_ACK if
> you want to deal with each message individually.
>
>
We are using worker threads to process messages. So, onMessage() calls
simply return by delegating the processing to the worker thread. Once the
worker thread processes the message, worker thread calls
message.acknowledge(). So, if I set a prefetch buffer of 10, and 9 messages
are getting proce