Re: Know the session was closed

2007-04-09 Thread astepanenko
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 kno

Know the session was closed

2007-04-09 Thread astepanenko
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. Thank you, Andrew -- View th

Re: DequeueCount is 0 even with active consumers

2007-04-06 Thread astepanenko
g messages? > > Tim > > > astepanenko wrote: >> >> Dear all, >> >> I'm new to ActiveMQ and have run into a problem when EnqueueCount and >> DispatchCount for my queue in JConsole are increased accordingly with >> every new message, but the Deq

DequeueCount is 0 even with active consumers

2007-04-06 Thread astepanenko
Dear all, I'm new to ActiveMQ and have run into a problem when EnqueueCount and DispatchCount for my queue in JConsole are increased accordingly with every new message, but the DequeueCount is still 0, and my onMessage() handlers are never called. I use ActiveMQ-4.2-incubator-SNAPSHOT. JConsole a