Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5651

Control Bus EIP

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.11.0
    • camel-core, eip
    • 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&param=route2")
      

      Would need to give some more thought about the syntax and what to be supported by the control bus.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: