Yes, you are right.
It works now when i send message with deliverymode=Persistent :drunk:
Thanks very much,


Minh Tu Duong wrote:
> 
> i am using this persistence Adaptor and it works:
> 
>         <persistenceAdapter>
>             <amqPersistenceAdapter syncOnWrite="false" directory="data" 
> maxFileLength="20 mb"/>
>         </persistenceAdapter>
> when you send message, you have to set
>         producer.setDeliveryMode(DeliveryMode.PERSISTENT);
> 
> best regards
> 
> 


-----
What's going on?
-- 
View this message in context: 
http://www.nabble.com/Lost-message-queue-when-stoping-and-restarting-Embedded-ActiveMQ-tp18727598p18785178.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to