activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rrao <raghavsolid...@hotmail.com>
Subject How many copies of message would be stored on disk(KahaDB)
Date Thu, 23 Feb 2012 22:17:21 GMT
Hi,

If i send a single message to two queues and queues are persisted, then how
many copies of message would be stored in Kahadb, 2 or 1.

String queueNames = "queue1,queue2";
Session session = ...
BytesMessage bytesMessage = session.createBytesMessage();
byte[] buffer = ...
bytesMessage.writeBytes(buffer, offset, len);
Destination dest = session.createQueue(queueNames);
MessageProducer producer = ....
producer.send(dest, bytesMessage);

Is there a way to make it store only one copy?

thanks
raghav

--
View this message in context: http://activemq.2283324.n4.nabble.com/How-many-copies-of-message-would-be-stored-on-disk-KahaDB-tp4415446p4415446.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message