Jim
2006-04-25 16:56:25 UTC
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 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