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