activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Know the session was closed
Date Mon, 09 Apr 2007 22:26:04 GMT
On 4/9/07, astepanenko <> 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



View raw message