syndesisio / syndesis-integration-runtime

Apache License 2.0
1 stars 6 forks source link

Add support for extensions #21

Closed lburgazzoli closed 6 years ago

lburgazzoli commented 6 years ago

There should be new kind "extension" used to attach processors to a route:

- kind: "extension"
    name: "com.github.lburgazzoli.application.extension.beans.MyStep"
    properties:
      something: "ThisIsSomething"
      key1: "val1"
      key2: "val2"

The "extension" class should implement the following interface:

@FunctionalInterface
public interface SyndesisStepExtension {
    ProcessorDefinition configure(CamelContext context, ProcessorDefinition definition, Map<String, Object> parameters);
}