RE: no msg ack using .receiveNoWait
"Tim Anderson" <[email protected]> Thu, 25 May 2006 22:02:56 +1000
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
This is now fixed in CVS.
If you want to try it out, you'll have to check out the sources
using the instructions on page:
http://sourceforge.net/cvs/?group_id=54559
As Sourceforge have recently changed the CVS repositories around.
Regards,
Tim
> From: Tim Anderson
>
> Raised as bug 1480739:
> https://sourceforge.net/tracker/index.php?func=detail&aid=1480
> 739&group_id=5
> 4559&atid=474136
>
> I'll try and look at it later in the week.
>
> -Tim
>
>
> > -----Original Message-----
> > From: openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > [mailto:openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
> > Jim
> > Sent: Wednesday, 26 April 2006 2:56 AM
> > To: openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Subject: [openjms-developer] no msg ack using .receiveNoWait
> >
> > Hi. I've got a problem where, when the client calls
> > queueReceiver.receiveNoWait
> > () using session.AUTO_ACKNOWLEDGE, the client receives the
> msg but it
> > is not removed from the queue. If I call
> > receiveNoWait() again in the same loop, OpenJMS won't resend the
> > message I already read, so it knows somehow that I already
> received it
> > but it doesn't get deleted. If I close the client and restart, I'll
> > receive the same msg again.
> > Also, if I use .receive(1) instead of receiveNoWait(), everything
> > works normally and the msg gets deleted. What gives?
> >
> > I'm using OpenJMS version 0.7.7-alpha-3 with all the
> default configs,
> > and the tcp connector. Everything is running on my local machine.
> >
> > Thanks.
> > Jim
> >
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642