|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessorFactory
A factory to create Processor based on the definition.
definitions for example to
configure or change options. Its also possible to add new steps in the route by adding outputs to
definitions.
Important: By returning null from the create methods you fallback to let the default implementation in Camel create
the Processor. You want to do this if you only want to manipulate the
definitions.
| Method Summary | |
|---|---|
Processor |
createChildProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition,
boolean mandatory)
Creates the child processor. |
Processor |
createProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition)
Creates the processor. |
| Method Detail |
|---|
Processor createChildProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition,
boolean mandatory)
throws Exception
routeContext - the route contextdefinition - the definition which represents the processormandatory - whether or not the child is mandatory
Exception - can be thrown if error creating the processor
Processor createProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition)
throws Exception
routeContext - the route contextdefinition - the definition which represents the processor
Exception - can be thrown if error creating the processor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||