http://activemq.2283324.n4.nabble.com/file/n4332902/test_s.php test_s.php 
http://activemq.2283324.n4.nabble.com/file/n4332902/activemq.xml
activemq.xml 

Here is my script at php and activemq.xml config file.
to run at php to send message i do "php test_s.php send", to read what can
be read "php test_s.php"
so stack of commands look like:
php test_s.php send //send message to queue
php test_s.php  //confirm it still in queue
/usr/local/etc/rc.d/activemq forcerestart //fully restart activemq
php test_s.php // now message is not here.

I am newbe to ActiveMQ, but at headers message showed as expired:0 (assume
it mean it will never expire), and when i try to set additinal headers to
send message like 'persistent => true' it not take any effect.
And all what i was found about persistent is lot of manuals how to make it
NOT persistent, so i assume it should be persistent by default. But seems to
not work with me.

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/how-to-enable-persistent-message-store-tp4330162p4332902.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to