activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew M" <and...@oc384.net>
Subject RE: retroactive consumer still dropping msgs...
Date Thu, 03 Apr 2008 04:08:13 GMT
Are you sure? Would that explain why I'm getting only the most recently sent
messages?  What happened to the first 4800 of 5000?
Thanks,
Andrew


-----Original Message-----
From: liushk [mailto:liushk@qq.com] 
Sent: Wednesday, April 02, 2008 7:37 PM
To: users@activemq.apache.org
Subject: 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:
> 
>  
> 
> http://www.nmedia.net/~andrew/tmp/CommandLinePublisher.java
> 
>  
> 
> It connects, sends 5000 msgs, disconnects, then creates a consumer and
> subscribes.
> 
>  
> 
> It ends with 
> 
>  
> 
> received #791 msg text='sent msg #4993'
> 
> received #792 msg text='sent msg #4994'
> 
> received #793 msg text='sent msg #4995'
> 
> received #794 msg text='sent msg #4996'
> 
> received #795 msg text='sent msg #4997'
> 
> received #796 msg text='sent msg #4998'
> 
> received #797 msg text='sent msg #4999'
> 
> Any ideas what's wrong here?
> 
> Thanks,
> 
> Andrew
> 
>  
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/retroactive-consumer-still-dropping-msgs...-tp16451630
s2354p16456889.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.



Mime
View raw message