Class DynamicRouterEndpoint.DynamicRouterEndpointFactory
java.lang.Object
org.apache.camel.component.dynamicrouter.DynamicRouterEndpoint.DynamicRouterEndpointFactory
- Enclosing class:
- DynamicRouterEndpoint
Create a
DynamicRouterEndpoint
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance
(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.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.
-
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, 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
-