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

Provide a route Connector/Component

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • camel-connector, camel-core
    • None
    • Unknown

    Description

      With Connectors there is a ability to provide simplified one use case focused Camel components, I think this can be further extended to have a way of creating Components/Connectors out of Routes (perhaps just from RouteDefinition).
      A component that would look like any other Camel component but would be defined using a route.
      This would enable more functionality in a simple to use component.
      One example of this would be getting data out of Salesforce on change within Salesforce. Currently you would need to string two Salesforce endpoints: a streaming consumer and a fetching producer, something like:

      from("salesforce:accountsTopic?...")
        .setHeader("sObjectId", ...)
        .to("salesforce:getSObject?...")
      

      could be simplified into:

      from("salesforce-account-updates")
      

      Currently Connectors have pre/post processors that can achieve something similar, but this would enable more complex use cases.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zregvart Zoran Regvart
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: