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 RouterEndpointfor 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 RouterEndpointfor the given endpoint URI. This includes the creation of aDynamicRouterProcessorthat is registered with the suppliedDynamicRouterComponent.- Parameters:
uri- the endpoint URIcomponent- the Dynamic RouterComponentconfiguration- theDynamicRouterConfigurationprocessorFactorySupplier- creates theDynamicRouterProcessorproducerFactorySupplier- creates theDynamicRouterProcessorfilterService- theDynamicRouterFilterService- Returns:
- the
DynamicRouterEndpointfor 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 RouterComponentconfiguration- theDynamicRouterConfigurationfilterService- theDynamicRouterFilterService- Returns:
- the
DynamicRouterEndpointfor control channel messages
-