Class DynamicRouterEndpoint.DynamicRouterEndpointFactory
- java.lang.Object
-
- org.apache.camel.component.dynamicrouter.DynamicRouterEndpoint.DynamicRouterEndpointFactory
-
- Enclosing class:
- DynamicRouterEndpoint
public static class DynamicRouterEndpoint.DynamicRouterEndpointFactory extends Object
Create aDynamicRouterEndpoint
instance.
-
-
Constructor Summary
Constructors Constructor Description DynamicRouterEndpointFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicRouterEndpoint
getInstance(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, Supplier<DynamicRouterControlChannelProcessor.DynamicRouterControlChannelProcessorFactory> processorFactorySupplier, Supplier<DynamicRouterControlProducer.DynamicRouterControlProducerFactory> producerFactorySupplier)
Create a specialized Dynamic RouterEndpoint
for the control channel endpoint URI.DynamicRouterEndpoint
getInstance(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, Supplier<DynamicRouterProcessor.DynamicRouterProcessorFactory> processorFactorySupplier, Supplier<DynamicRouterProducer.DynamicRouterProducerFactory> producerFactorySupplier, Supplier<PrioritizedFilterProcessor.PrioritizedFilterProcessorFactory> filterProcessorFactorySupplier)
Create the Dynamic RouterEndpoint
for the given endpoint URI.
-
-
-
Method Detail
-
getInstance
public DynamicRouterEndpoint getInstance(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, Supplier<DynamicRouterProcessor.DynamicRouterProcessorFactory> processorFactorySupplier, Supplier<DynamicRouterProducer.DynamicRouterProducerFactory> producerFactorySupplier, Supplier<PrioritizedFilterProcessor.PrioritizedFilterProcessorFactory> filterProcessorFactorySupplier)
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
filterProcessorFactorySupplier
- creates thePrioritizedFilterProcessor
- Returns:
- the
DynamicRouterEndpoint
for routing exchanges
-
getInstance
public DynamicRouterEndpoint getInstance(String uri, DynamicRouterComponent component, DynamicRouterConfiguration configuration, Supplier<DynamicRouterControlChannelProcessor.DynamicRouterControlChannelProcessorFactory> processorFactorySupplier, Supplier<DynamicRouterControlProducer.DynamicRouterControlProducerFactory> producerFactorySupplier)
Create a specialized Dynamic RouterEndpoint
for the control channel endpoint URI. This includes the creation of aDynamicRouterControlChannelProcessor
to instantiate a that is registered with the suppliedDynamicRouterComponent
. Routing participants use this endpoint to supplyDynamicRouterControlMessage
s to subscribe or unsubscribe.- Parameters:
uri
- the endpoint URIcomponent
- the Dynamic RouterComponent
configuration
- theDynamicRouterConfiguration
processorFactorySupplier
- creates theDynamicRouterControlChannelProcessor
producerFactorySupplier
- creates theDynamicRouterProcessor
- Returns:
- the
DynamicRouterEndpoint
for control channel messages
-
-