Skip to content

Commit

Permalink
Shutdown!
Browse files Browse the repository at this point in the history
  • Loading branch information
eolivelli committed May 14, 2024
1 parent 534343b commit 618c2e7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,12 @@ public void close() {
log.info("Broker is shutting down. Disabling JMSPublishFilters interceptor");
closed.set(true);
filter.close();
executor.shutdown();
if (executor != null) {
executor.shutdown();
}
if (drainAckQueueExecutor != null) {
drainAckQueueExecutor.shutdown();
}
}

@Override
Expand Down

0 comments on commit 618c2e7

Please sign in to comment.