Thanks for letting me know about "Control Bus" functionality. I went through this short description on how to send messages via operationChannel but unfortunately it is not clear for me how we get reference to the operationChannel.
Originally Posted by Mark Fisher
In my case I would like to use service that is represented in spring application context as a singleton bean and inject reference to the control bus operationChannel, how could I achieve this?
Message operation = MessageBuilder.withPayload("@myServiceBean.shutdown()");
// how can we get this reference?