Thank you, James! That tiny method would be really handy. I'll look at how to submit a patch and will try to provide one.
Andrew. James.Strachan wrote: > > On 4/9/07, astepanenko <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> is there a way to know that Session was closed, something like isClosed() >> method? I cannot find one. >> So, currently the only way to know the session was closed (either >> intentionally or due to a network problem) is to get an Exception trying >> to >> use the Session. > > There's a protected closed flag already on ActiveMQSession. If you > want to submit a patch it'd be easy to expose this as a public > property > http://activemq.apache.org/contributing.html > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Know-the-session-was-closed-tf3549541s2354.html#a9910882 Sent from the ActiveMQ - User mailing list archive at Nabble.com.