Class DynamicRouterEndpoint.DynamicRouterEndpointFactory
java.lang.Object
org.apache.camel.component.dynamicrouter.routing.DynamicRouterEndpoint.DynamicRouterEndpointFactory
- Enclosing class:
DynamicRouterEndpoint
Create a
DynamicRouterEndpoint
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance
(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, Supplier<DynamicRouterProcessor.DynamicRouterProcessorFactory> processorFactorySupplier, Supplier<DynamicRouterProducer.DynamicRouterProducerFactory> producerFactorySupplier, BiFunction<org.apache.camel.CamelContext, org.apache.camel.Expression, org.apache.camel.processor.RecipientList> recipientListSupplier, DynamicRouterFilterService filterService) Create the Dynamic RouterEndpoint
for the given endpoint URI.getInstance
(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, DynamicRouterFilterService filterService) Create the endpoint that routing participants use to send messages.
-
Constructor Details
-
DynamicRouterEndpointFactory
public DynamicRouterEndpointFactory()
-
-
Method Details
-
getInstance
public DynamicRouterEndpoint getInstance(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, Supplier<DynamicRouterProcessor.DynamicRouterProcessorFactory> processorFactorySupplier, Supplier<DynamicRouterProducer.DynamicRouterProducerFactory> producerFactorySupplier, BiFunction<org.apache.camel.CamelContext, org.apache.camel.Expression, org.apache.camel.processor.RecipientList> recipientListSupplier, DynamicRouterFilterService filterService) Create the Dynamic RouterEndpoint
for the given endpoint URI. This includes the creation of aDynamicRouterProcessor
that is registered with the suppliedDynamicRouterComponent
.- Parameters:
uri
- the endpoint URIcomponent
- the Dynamic RouterComponent
configuration
- theDynamicRouterConfiguration
processorFactorySupplier
- creates theDynamicRouterProcessor
producerFactorySupplier
- creates theDynamicRouterProcessor
filterService
- theDynamicRouterFilterService
- Returns:
- the
DynamicRouterEndpoint
for routing exchanges
-
getInstance
public DynamicRouterEndpoint getInstance(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, DynamicRouterFilterService filterService) Create the endpoint that routing participants use to send messages.- Parameters:
uri
- the endpoint URIcomponent
- the Dynamic RouterComponent
configuration
- theDynamicRouterConfiguration
filterService
- theDynamicRouterFilterService
- Returns:
- the
DynamicRouterEndpoint
for control channel messages
-