Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Control Bus EIP
http://www.eaipatterns.com/ControlBus.html
I think we should consider a control bus EIP (eg implemented as a component).
Then people can manage their Camel apps by sending messages to a control bus endpoint.
For example to
- start a route
- stop a route
- get statistics
- shutdown camel (???)
eg a bit like what you can do with JMX management, but over Camel endpoint.
To trick would be to find a message format the control bus can parse. For example should we use a header for the command.
But that also makes it easier for people to start|stop a route from a route. Now just send a message to an endpoint, for example using wire tap.
from x
to y
wire tap ("controlbus:action=start-route¶m=route2")
Would need to give some more thought about the syntax and what to be supported by the control bus.