RE: no msg ack using .receiveNoWait
"Tim Anderson" <[email protected]> Wed, 3 May 2006 09:03:42 +1000
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Raised as bug 1480739: https://sourceforge.net/tracker/index.php?func=detail&aid=1480739&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 > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > openjms-developer mailing list > openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/openjms-developer > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642