protected void initialiseStorage(VirtualHostConfiguration hostConfig, VirtualHost virtualHost)
{
_messageStore = new BDBHAMessageStore();
final MessageStoreLogSubject storeLogSubject =
new MessageStoreLogSubject(getName(), _messageStore.getClass().getSimpleName());
OperationalLoggingListener.listen(_messageStore, storeLogSubject, getEventLogger());
_messageStore.addEventListener(new BeforeActivationListener(), Event.BEFORE_ACTIVATE);
_messageStore.addEventListener(new AfterActivationListener(), Event.AFTER_ACTIVATE);
_messageStore.addEventListener(new BeforeCloseListener(), Event.BEFORE_CLOSE);