...
Service lifecycle
A service (org.apache.camel.Service
) in Camel adheres to the following lifecycle states as illustrated in the diagram below:
...
Notice: A service can optimally support suspend/resume by the org.apache.camel.SuspendableService
. This means not all services in Camel supports suspension. It's encouraged that consumers support suspension which allows to suspend/resume routes.
Tip | ||||
---|---|---|---|---|
| ||||
The |
Routes lifecycle
Routes in Camel have the following operations to control its lifecycle
...