public interface ComponentBuilder<C extends org.apache.camel.Component>
| Modifier and Type | Method and Description |
|---|---|
C |
build()
Builds a component using the default
CamelContext. |
C |
build(org.apache.camel.CamelContext context)
Builds a component using a provided
CamelContext. |
void |
doSetProperty(String name,
Object value)
Adds an option to this component.
|
void |
register(org.apache.camel.CamelContext context,
String componentName)
Builds and register a component to the provided
CamelContext. |
C build()
CamelContext.ComponentC build(org.apache.camel.CamelContext context)
CamelContext.context - the camel contextComponentvoid register(org.apache.camel.CamelContext context,
String componentName)
CamelContext.context - the camel contextcomponentName - the name the component is registered asApache Camel