Re: How to find if the topic is empty ?

2009-08-12 Thread sinus
sinus wrote: > > Hello to everybody, > I have a java application that uses activemq 5.2. A batch file starts the > broker, create subscribers and register the listeners to the topic. The > same bath is responsible for stoping the process. During the stop > operation I must

How to find if the topic is empty ?

2009-08-12 Thread sinus
Hello to everybody, I have a java application that uses activemq 5.2. A batch file starts the broker, create subscribers and register the listeners to the topic. The same bath is responsible for stoping the process. During the stop operation I must perform a check on the state of the topic. If the

Re: createSession() makes all the threads to wait ...

2009-08-12 Thread sinus
> > Maybe this is a ProducerFlowControl issue. Have you tried to turn it off? > (see also > http://kovyrin.net/2009/01/23/activemq-tips-flow-control-and-stalled-producers-problem/) > > Greetings, > Norbert > > kley schrieb: >> >> sinus wrote: >>> Hell

createSession() makes all the theard to wait ...

2009-08-11 Thread sinus
Hello to everybody. I need a help. During 3 days I'm trying to solve a problem that appears with my embedded pub/sub(with listener) model after processing around 8 messages. So, all goes well: publishing and consumig , but after ~ 8 messages the threads of my multi-theaded application blo