@Override public boolean isTransient() { return subscription.isKeepDurableSubsActive(); }
@Override public synchronized void stop() throws Exception { if (isStarted()) { if (subscription.isKeepDurableSubsActive()) { super.gc(); for (PendingMessageCursor tsp : storePrefetches) { tsp.gc(); } } else { super.stop(); for (PendingMessageCursor tsp : storePrefetches) { tsp.stop(); } getMessageAudit().clear(); } } }
@Override public boolean isTransient() { return subscription.isKeepDurableSubsActive(); }
@Override public boolean isTransient() { return subscription.isKeepDurableSubsActive(); }
@Override public boolean isTransient() { return subscription.isKeepDurableSubsActive(); }
@Override public boolean isTransient() { return subscription.isKeepDurableSubsActive(); }
@Override public synchronized void stop() throws Exception { if (isStarted()) { if (subscription.isKeepDurableSubsActive()) { super.gc(); for (PendingMessageCursor tsp : storePrefetches) { tsp.gc(); } } else { super.stop(); for (PendingMessageCursor tsp : storePrefetches) { tsp.stop(); } getMessageAudit().clear(); } } }
@Override public synchronized void stop() throws Exception { if (isStarted()) { if (subscription.isKeepDurableSubsActive()) { super.gc(); for (PendingMessageCursor tsp : storePrefetches) { tsp.gc(); } } else { super.stop(); for (PendingMessageCursor tsp : storePrefetches) { tsp.stop(); } getMessageAudit().clear(); } } }
@Override public synchronized void stop() throws Exception { if (isStarted()) { if (subscription.isKeepDurableSubsActive()) { super.gc(); for (PendingMessageCursor tsp : storePrefetches) { tsp.gc(); } } else { super.stop(); for (PendingMessageCursor tsp : storePrefetches) { tsp.stop(); } getMessageAudit().clear(); } } }
@Override public synchronized void stop() throws Exception { if (isStarted()) { if (subscription.isKeepDurableSubsActive()) { super.gc(); super.getMessageAudit().clear(); for (PendingMessageCursor tsp : storePrefetches) { tsp.gc(); tsp.getMessageAudit().clear(); } } else { super.stop(); for (PendingMessageCursor tsp : storePrefetches) { tsp.stop(); } } } }