Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Tom Samplonius
- "Raffaele" <[EMAIL PROTECTED]> wrote: ... > To accomplish this can I use setDeleteAllMessagesOnStartup(true) on > startup > or have I to use specific SQL delete statement on activemq DB? ... You should look into the URI configuration. You can set certain Xbean config options on the com

Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Raffaele
First of all, they are only test for evaluating ActiveMQ to decide if using it in a very important Italian (but also sold in France and afterwards perhaps in some parts of USA) project. Then, if I'm in front of an API I search to detect all possible leaks, if they are, before confirm to my boss th

Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread James Strachan
Just out of interest, why would you want to use persistence with MySQL, then delete messages on startup? Sounds like you'd be better using non-persistence. On 6/11/07, Raffaele <[EMAIL PROTECTED]> wrote: Hi all, Im yet trying to do some test with a BrokerService and some settings. Now, I trie

setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Raffaele
Hi all, Im yet trying to do some test with a BrokerService and some settings. Now, I tried with persistence on MySql and with setDeleteAllMessagesOnStartup(true), here is the code: ... configurePersistence(); m_broker.addConnector("tcp://localhost:61616"); m_broker.setDeleteAllMessagesOnStartup