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

Reply via email to