On 11/24/06, sgliu <[EMAIL PROTECTED]> wrote:
In C++,how to achieve message's persistence? produce and consumer .
Set persistent mode on the producer. http://incubator.apache.org/activemq/cms/html/classcms_1_1MessageProducer.html#976a9b3544129386608ff7d5ffab145c producer.setDeliveryMode(DeliveryMode.PERSISTENT) I recommend you browse the documentaiton of Session, MessageProducer and MessageConsumer as there's not that many methods and they are described pretty well -- James ------- http://radio.weblogs.com/0112098/
