Details
-
Type:
New Feature
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: camel-connector, camel-core
-
Labels:None
-
Estimated Complexity: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.