You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "tommy.li" <to...@gmail.com> on 2007/04/22 14:26:03 UTC
The problem in ActiveMQ CPP 2.0 Released
producer->setDeliveryMode( DeliveryMode::PERSISTENT );
When i restart broker,the mesages are lost.
producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT );
When i restart broker,the mesages are recovered.
Why?
--
View this message in context: http://www.nabble.com/The-problem-in-ActiveMQ-CPP-2.0-Released-tf3626404s2354.html#a10126042
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: The problem in ActiveMQ CPP 2.0 Released
Posted by "tommy.li" <to...@gmail.com>.
Thanks.
Timothy Bish wrote:
>
> tommy.li wrote:
>> producer->setDeliveryMode( DeliveryMode::PERSISTENT );
>> When i restart broker,the mesages are lost.
>>
>> producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT );
>> When i restart broker,the mesages are recovered.
>>
>> Why?
>>
>>
>>
> Yup, think you may be on to something there, code looks to be backwards,
> probably want to write a Jira issues on this one.
>
>
--
View this message in context: http://www.nabble.com/The-problem-in-ActiveMQ-CPP-2.0-Released-tf3626404s2354.html#a10152731
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: The problem in ActiveMQ CPP 2.0 Released
Posted by Timothy Bish <ta...@twcny.rr.com>.
tommy.li wrote:
> producer->setDeliveryMode( DeliveryMode::PERSISTENT );
> When i restart broker,the mesages are lost.
>
> producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT );
> When i restart broker,the mesages are recovered.
>
> Why?
>
>
>
Yup, think you may be on to something there, code looks to be backwards,
probably want to write a Jira issues on this one.