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.

Reply via email to