Active MQ Lingering threads

2010-04-17 Thread Vibe from Boston
I have very simple app that publishes to a specific queue. everything works fine but the app after completing everything wont exit because of lingering ActiveMQ threads. It comes out of main() method but still is running. I used YourKit profile to check and I see quite a few threads spawned by Q.

Re: Network of Brokers

2010-04-17 Thread patzerbud
dkfn wrote: > > It fails at: > >assertNotNull(message1); > > btw. > I think your example exhibits a threading issue. I modified it so the consumer is in a separate thread like this: private class Consumer implements Runnable { Consumer() {