activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tung.Nguyen" <tungnq.ngu...@yahoo.com>
Subject Re: Lost message queue when stoping and restarting Embedded ActiveMQ
Date Sat, 02 Aug 2008 01:35:34 GMT

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.


Mime
View raw message