[ openjms-Bugs-971182 ] Receiver remains active after network disconnection

"SourceForge.net" <[email protected]> Fri, 02 Dec 2005 04:43:46 -0800
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #971182, was opened at 2004-06-12 00:53
Message generated for change (Comment added) made by tanderson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=971182&group_id=54559

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: client
Group: v0.7.6.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: jwilson_13 (jwilson_13)
>Assigned to: Tim Anderson (tanderson)
Summary: Receiver remains active after network disconnection

Initial Comment:
Bug description:

Two JMS Clients: 
Client A is submitting messages to another JMS client 
program,  Client B who in turn responds to Client A.
Client A is sending the messages to a fixed queue and 
waiting its response on a temporary queue.
Client B reads from the fixed queue on which there is a 
listener set and replies to the temporary queue.
Client B has an ExceptionListener on his 
QueueConnection and resets the connection, the 
session and the receiver on exceptions (after closing 
these respective components)

We simulate a network connection problem (pull the 
network plug ;-) ) The Client B responds properly by 
resetting the environment.

After the reset, when submitting new messages from 
Client A, only one message out of two is received by 
client B and it seems as through the receiver was not 
properly flushed. Only a stop of the JVM will actually 
stop this behavior.



----------------------------------------------------------------------

>Comment By: Tim Anderson (tanderson)
Date: 2005-12-02 23:43

Message:
Logged In: YES 
user_id=557161

Fixed in CVS. Fix will be available in 0.7.7-alpha-2

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=971182&group_id=54559


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click