roker,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-
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, cod
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-Ac