activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian A <adri...@acta.co.uk>
Subject Re: Slow sending of messages
Date Thu, 24 Dec 2009 18:09:29 GMT

Setting them to MapMessages (what I am using) makes it even worse:

//TextMessage message = session.createTextMessage(createMessageText(i));
MapMessage message  = session.createMapMessage();
message.setJMSType("blahasdadasdsd");
            message.setLong("test1",2222);
            message.setLong("test2",2222);
            message.setLong("test3",2222);
            message.setLong("test4",2222);
            message.setLong("test5",2222);

by 10 to 20 times worse.


Adrian A wrote:
> 
> long start = System.currentTimeMillis();
> producer.send(message);
> long stop = System.currentTimeMillis();
> 

-- 
View this message in context: http://old.nabble.com/Slow-sending-of-messages-tp26849964p26916149.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message