You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by tabshift <be...@acoreus.de> on 2007/03/16 14:04:34 UTC
Persistence
I am using in activemq.xml:
<persistenceAdapter>
<journaledJDBC journalLogFiles="5"
dataDirectory="${activemq.base}/activemq-data"/>
<kahaPersistenceAdapter dir="activemq-data" maxDataFileLength =
"33554432"/>
<!-- To use a different datasource, use the following syntax : -->
<!--
<journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data"
dataSource="#postgres-ds"/>
-->
</persistenceAdapter>
Nevertheless, when I ant producer it says:
producer:
[echo] Running producer against server at $url = tcp://localhost:41414
for subject $subject = TEST.FOO
[java] Connecting to URL: tcp://localhost:41414
[java] Publishing a Message with size 1000 to queue: TEST.FOO
[java] Using non-persistent messages
I am testing on 4.2-SNAPSHOT.
Why am I unable to produce persistent messages?
They are all gone when I restart the broker!
HELP please.
TIA
Thomas
--
View this message in context: http://www.nabble.com/Persistence-tf3414405s2354.html#a9514103
Sent from the ActiveMQ - User mailing list archive at Nabble.com.