Unfortunately no. Looking at the 0.7.6 code, if the server fails
to contact the client it cleans up the session, but in a least
2 cases won't clean up the connection and therefore ExceptionListener
Notifications won't occur.
Using the RMI connector, the server can fail to to contact
the client under heavy load and assume that the connection has
been lost. Using the TCP connector, this won't happen.
In 0.7.7, the server cleans up all resources associated with
a client when the client disconnects, and the client also
gets notified via any registered ExceptionListener.
In your case, the only options you have as far as I can tell
are to:
. try using synchronous consumers. You will get a JMSException
if the receive() fails.
. change to the tcp connector
. periodically close your sessions and re-register the asynchronous
consumers
-----Original Message-----
Behalf Of Wei Leng
Sent: Monday, 9 May 2005 3:46 PM
Subject: [openjms-developer] Re: openJMS stops consuming messages
Currently I'm not able to try on using tcp connectors as I'll
have to edit the
config file to add in the tcp configuration and restart the
openJMS server. My
client will not approve this since the system is running 24x7.
Is there anyway that we can be able to detect if a subscriber
has been
deactivated? also, is there any command to activate a
subscriber via java code?
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4
great events, 4 opportunities to win big! Highest score
wins.NEC IT Guy Games. Play to win an NEC 61 plasma display.
Visit http://www.necitguy.com/?r=20
_______________________________________________
https://lists.sourceforge.net/lists/listinfo/openjms-developer