You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Christian Posta (JIRA)" <ji...@apache.org> on 2013/05/14 05:37:15 UTC

[jira] [Created] (AMQ-4534) When using ElectingLevelDBStore cannot delete all messages on startup

Christian Posta created AMQ-4534:
------------------------------------

             Summary: When using ElectingLevelDBStore cannot delete all messages on startup
                 Key: AMQ-4534
                 URL: https://issues.apache.org/jira/browse/AMQ-4534
             Project: ActiveMQ
          Issue Type: Bug
          Components: activemq-leveldb-store
    Affects Versions: 5.9.0
            Reporter: Christian Posta
            Priority: Minor


Cannot call BrokerService#deleteAllMessages() nor setDeleteAllMessagesOnStartup() when using ElectingLevelDBStore... this is because the elector has not yet been run, and is null. Simple solution is override it (like a handful of other methods that are not intended to be called without having an elected master) and give it a default behavior. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira