/** * Cleanup method to remove any state associated with the given destination * @param destination Destination to forget */ @Override public void removeQueueMessageStore(ActiveMQQueue destination) { if (destination.isQueue() && getBrokerService().shouldRecordVirtualDestination(destination)) { try { removeConsumerDestination(destination); } catch (IOException ioe) { LOG.error("Failed to remove consumer destination: " + destination, ioe); } } storeCache.remove(destination); }
/** * Cleanup method to remove any state associated with the given destination * @param destination Destination to forget */ @Override public void removeQueueMessageStore(ActiveMQQueue destination) { if (destination.isQueue() && getBrokerService().shouldRecordVirtualDestination(destination)) { try { removeConsumerDestination(destination); } catch (IOException ioe) { LOG.error("Failed to remove consumer destination: " + destination, ioe); } } }
/** * Cleanup method to remove any state associated with the given destination * @param destination Destination to forget */ @Override public void removeQueueMessageStore(ActiveMQQueue destination) { if (destination.isQueue() && getBrokerService().shouldRecordVirtualDestination(destination)) { try { removeConsumerDestination(destination); } catch (IOException ioe) { LOG.error("Failed to remove consumer destination: " + destination, ioe); } } }
/** * Cleanup method to remove any state associated with the given destination * @param destination Destination to forget */ @Override public void removeQueueMessageStore(ActiveMQQueue destination) { if (destination.isQueue() && getBrokerService().shouldRecordVirtualDestination(destination)) { try { removeConsumerDestination(destination); } catch (IOException ioe) { LOG.error("Failed to remove consumer destination: " + destination, ioe); } } }