This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
I couldnt really find a way to do this (start/stop) for my current project and have been thinking something like this ...
I will have an admin job (int-file adapter) polling a particular folder for a command file with some basic start and stop commands followed by the endpoint name/id. Once the command is collected then scan through the container and issue stop or start. may be stupid idea but something I feel could work.
I have been trying to use control-bus. But end up with problems with the expression string to start with. I am trying to see if i could call a method in one of my classes, which will act as an admin job class.
An inbound file adapter polling a command folder to receive a command expression and process it (sysout at the moment).