I don't think he needs to acknowledge. It appears he's using an asynchronous
receiver w/in an AUTO_ACKNOWLEDGE session. In this scenario, the
acknowledgment occurs automatically when the onMessage method returns.
Joe
Goto www.ttmsolutions.com for a free ActiveMQ user guide
liushk wrote:
>
t: Re: retroactive consumer still dropping msgs...
it looks like you need "acknowledge" the received messages
Andrew M-2 wrote:
>
> My retroactive consumer is still only saving the most recent 797 messages.
> The complete code for an app demonstrating this is here:
>
>
it looks like you need "acknowledge" the received messages
Andrew M-2 wrote:
>
> My retroactive consumer is still only saving the most recent 797 messages.
> The complete code for an app demonstrating this is here:
>
>
>
> http://www.nmedia.net/~andrew/tmp/CommandLinePublisher.java
>
>