I see.Thanks a lot.

James.Strachan wrote:
> 
> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/help-me-tf2695968.html#a7535581
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to