Class DynamicRouterRecipientListHelper
java.lang.Object
org.apache.camel.component.dynamicrouter.routing.DynamicRouterRecipientListHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.camel.ProcessorcreateProcessor(org.apache.camel.CamelContext camelContext, DynamicRouterConfiguration cfg, BiFunction<org.apache.camel.CamelContext, org.apache.camel.Expression, org.apache.camel.processor.RecipientList> recipientListSupplier) Create and configure theRecipientListProcessor.
-
Method Details
-
createProcessor
public static org.apache.camel.Processor createProcessor(org.apache.camel.CamelContext camelContext, DynamicRouterConfiguration cfg, BiFunction<org.apache.camel.CamelContext, org.apache.camel.Expression, org.apache.camel.processor.RecipientList> recipientListSupplier) Create and configure theRecipientListProcessor. The returned recipient list will be started.- Parameters:
camelContext- theRecipientListto configurecfg- theDynamicRouterConfiguration- Returns:
- the configured
RecipientListProcessor
-