I also tried switching to non-persistent, and added the following options: connectionFactory.setUseAsyncSend(true); // tbw to test speed connectionFactory.setAlwaysSyncSend(false); connectionFactory.setSendAcksAsync(true); connectionFactory.setProducerWindowSize(100);
It now takes 27 seconds instead of 40 seconds to write 1000 messages, which is still very very slow! -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-and-fast-messages-tp3660295p3660544.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.