@Override public void initialize() throws Exception { super.initialize(); // set non default subscription recovery policy (override policyEntries) if (AdvisorySupport.isMasterBrokerAdvisoryTopic(destination)) { subscriptionRecoveryPolicy = new LastImageSubscriptionRecoveryPolicy(); setAlwaysRetroactive(true); } if (store != null) { // AMQ-2586: Better to leave this stat at zero than to give the user // misleading metrics. // int messageCount = store.getMessageCount(); // destinationStatistics.getMessages().setCount(messageCount); store.start(); } }
super.initialize(); if (store != null) {
@Override public void initialize() throws Exception { super.initialize(); if (store != null) { // AMQ-2586: Better to leave this stat at zero than to give the user // misleading metrics. // int messageCount = store.getMessageCount(); // destinationStatistics.getMessages().setCount(messageCount); } }
@Override public void initialize() throws Exception { super.initialize(); // set non default subscription recovery policy (override policyEntries) if (AdvisorySupport.isMasterBrokerAdvisoryTopic(destination)) { subscriptionRecoveryPolicy = new LastImageSubscriptionRecoveryPolicy(); setAlwaysRetroactive(true); } if (store != null) { // AMQ-2586: Better to leave this stat at zero than to give the user // misleading metrics. // int messageCount = store.getMessageCount(); // destinationStatistics.getMessages().setCount(messageCount); store.start(); } }
@Override public void initialize() throws Exception { super.initialize(); // set non default subscription recovery policy (override policyEntries) if (AdvisorySupport.isMasterBrokerAdvisoryTopic(destination)) { subscriptionRecoveryPolicy = new LastImageSubscriptionRecoveryPolicy(); setAlwaysRetroactive(true); } if (store != null) { // AMQ-2586: Better to leave this stat at zero than to give the user // misleading metrics. // int messageCount = store.getMessageCount(); // destinationStatistics.getMessages().setCount(messageCount); store.start(); } }
@Override public void initialize() throws Exception { super.initialize(); // set non default subscription recovery policy (override policyEntries) if (AdvisorySupport.isMasterBrokerAdvisoryTopic(destination)) { subscriptionRecoveryPolicy = new LastImageSubscriptionRecoveryPolicy(); setAlwaysRetroactive(true); } if (store != null) { // AMQ-2586: Better to leave this stat at zero than to give the user // misleading metrics. // int messageCount = store.getMessageCount(); // destinationStatistics.getMessages().setCount(messageCount); store.start(); } }
super.initialize(); if (store != null) {
super.initialize(); if (store != null) {
super.initialize(); if (store != null) {
super.initialize(); if (store != null) {