...
The start
and resume
operations in JMX checks the state beforehand. So if a route is stopped and you click resume
, it will know to invoke start
. And likewise if a route has been suspended and you click start
it knows to resume
instead. This makes management a bit easier.
If a route is suspended then it keeps its resources and all their JMX metrics alive. Where as stopping a route will graceful stop the route, and clear its resources, and as well their JMX metrics. If you want to temporary "pause" a route, then consider using suspend/resume over stop/start.
Info |
---|
If a route consumer does not support suspension, it will fallback and stop the route instead. |