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

"SourceForge.net" <[email protected]> Fri, 11 Jun 2004 07:53:25 -0700
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #971182, was opened at 2004-06-11 14:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=971182&group_id=54559

Category: client
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: jwilson_13 (jwilson_13)
Assigned to: Jim Alateras (jalateras)
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.



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

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 The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND