In the <broker> element, for example

<broker xmlns="http://activemq.apache.org/schema/core";
brokerName="localhost" dataDirectory="${activemq.base}/data"
deleteAllMessagesOnStartup="true">
...

</broker>

Joe
http://www.ttmsolutions.com - get a free ActiveMQ user guide




Minh Tu Duong wrote:
> 
> Hi,
> 
> someone  know how to configure the activemq.xml so that the
> 
> /_BrokerService.setDeleteAllMessagesOnStartup(true)
> <http://activemq.apache.org/maven/activemq-core/apidocs/src-html/org/apache/activemq/broker/BrokerService.html#line.1030>_/
> is called at startup.
> 
> 
> cheers.
> Minh Tu.
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AMQ-and-messages-tp20087281p20092852.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to