I noticed that an open context maintains a connection to JNDI so I wondered
how I can
restore this connection like when the connection to the router was
unavailable for some time.
Can a valid Context object be reconstructed with a call to:
Context context=new InitialContext(Hashtable) ?

Along that line, a TopicConnection's connection and a TopicSession's temp
queues will not
be valid anymore either,so I wonder if either of them throw an exception when
the connection
is lost ?? This would be a nice way of finding out that the router is
unavailable :)

S. Zwedler


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to