Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,24 @@ && currentTimeMillis() <= shutdownTimeout + startMillis
LOGGER.warn("TX Subscribers of ProcessingStrategy for flow '{}' not completed before thread interruption",
flowConstruct.getName());
}
LOGGER.warn("invalidate all shinks: {}",sinks);
sinks.invalidateAll();
LOGGER.warn("invalidate all sinksNestedTx: {}",sinksNestedTx);
sinksNestedTx.invalidateAll();
} else if (disposableSinks.get() != 0) {
long remainingDisposableSinks = disposableSinks.get();
if (getProperty(MULE_LIFECYCLE_FAIL_ON_FIRST_DISPOSE_ERROR) != null) {
throw new IllegalStateException(format("TX Subscribers of ProcessingStrategy for flow '%s' not completed in %d ms",
throw new IllegalStateException(format("TX Subscribers %d of ProcessingStrategy for flow '%s' not completed in %d ms",
remainingDisposableSinks,
flowConstruct.getName(),
shutdownTimeout));
} else {
LOGGER.warn("TX Subscribers of ProcessingStrategy for flow '{}' not completed in {} ms", flowConstruct.getName(),
LOGGER.warn("TX Subscribers {} of ProcessingStrategy for flow '{}' not completed in {} ms", remainingDisposableSinks, flowConstruct.getName(),
shutdownTimeout);
}
LOGGER.warn("invalidate all shinks: {}",sinks);
sinks.invalidateAll();
LOGGER.warn("invalidate all sinksNestedTx: {}",sinksNestedTx);
sinksNestedTx.invalidateAll();
}
}
Expand Down