Re: ActiveMQ problem with closing a connection that has a MessageListener attached

2010-05-10 Thread jid1jid1
h your code as a junit test case? that does > seem odd. > > On 7 May 2010 16:29, jid1jid1 wrote: > >> >> Hi, >> >> I have the following setup: >> JMSClient - ActiveMQ 5.3.1 >> JMSServer - ActiveMQ 5.3.0 >> >> I create a QueueConnection-&g

ActiveMQ problem with closing a connection that has a MessageListener attached

2010-05-07 Thread jid1jid1
Hi, I have the following setup: JMSClient - ActiveMQ 5.3.1 JMSServer - ActiveMQ 5.3.0 I create a QueueConnection-> QueueSession -> MessageConsumer I set my messageListener on the MessageConsumer and use conn.start() to flush If my queue has messages, When I try to remove the messageListener o

Re: Weird producer slow performance (with persistence)

2010-04-28 Thread jid1jid1
t; the disk writes coalesce. > > It may be interesting to run this little disk benchmark that replicates > the > kahaDB writer thread to quantity the effect of the sync on some difference > machines. > > java -classpath lib/kahadb-5.3.1jar org.apache.kahadb.util.DiskBenchmark &

Weird producer slow performance (with persistence)

2010-04-27 Thread jid1jid1
I use ActiveMQ 5.3.1 with default configuration. My message producer rate for 1 msg / per commit cannot exceed 90msgs/second. I tried using multiple Thread/Sessions, Connections and JVM instances and the rate cannot exceed this (without settings like factory.setUseAsyncSend(true) ) The weirdest