no msg ack using .receiveNoWait
Jim <[email protected]> Tue, 25 Apr 2006 16:56:25 +0000 (UTC)
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
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