I understand from spring integration monitoring sample https://github.com/spring-projects/spring-integration-samples/tree/master/intermediate/monitoring how control bus can be used to shutdown an integration flow. I was wondering how is
@integrationMBeanExporter.stopActiveComponents(false, 20000)
different from just shutting down application context
applicationContext.stop()
in which the flow is loaded. Will that not achieve the same result.