Class DynamicRouterControlEndpoint.DynamicRouterControlEndpointFactory
java.lang.Object
org.apache.camel.component.dynamicrouter.control.DynamicRouterControlEndpoint.DynamicRouterControlEndpointFactory
- Enclosing class:
DynamicRouterControlEndpoint
Factory to create the
DynamicRouterControlEndpoint.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(String uri, DynamicRouterControlComponent component, String controlAction, DynamicRouterControlConfiguration configuration) Gets an instance of aDynamicRouterControlEndpoint.getInstance(String uri, DynamicRouterControlComponent component, String controlAction, DynamicRouterControlConfiguration configuration, Supplier<DynamicRouterControlProducer.DynamicRouterControlProducerFactory> controlProducerFactorySupplier, Supplier<DynamicRouterControlService.DynamicRouterControlServiceFactory> controlServiceFactorySupplier) Gets an instance of aDynamicRouterControlEndpoint.
-
Constructor Details
-
DynamicRouterControlEndpointFactory
public DynamicRouterControlEndpointFactory()
-
-
Method Details
-
getInstance
public DynamicRouterControlEndpoint getInstance(String uri, DynamicRouterControlComponent component, String controlAction, DynamicRouterControlConfiguration configuration) Gets an instance of aDynamicRouterControlEndpoint.- Parameters:
uri- the URI that was used to trigger the creation of the endpointcomponent- theDynamicRouterControlComponentcontrolAction- the control action of the endpointconfiguration- theDynamicRouterControlConfiguration- Returns:
- the
DynamicRouterControlEndpoint
-
getInstance
public DynamicRouterControlEndpoint getInstance(String uri, DynamicRouterControlComponent component, String controlAction, DynamicRouterControlConfiguration configuration, Supplier<DynamicRouterControlProducer.DynamicRouterControlProducerFactory> controlProducerFactorySupplier, Supplier<DynamicRouterControlService.DynamicRouterControlServiceFactory> controlServiceFactorySupplier) Gets an instance of aDynamicRouterControlEndpoint.- Parameters:
uri- the URI that was used to trigger the creation of the endpointcomponent- theDynamicRouterControlComponentcontrolAction- the control action of the endpointconfiguration- theDynamicRouterControlConfigurationcontrolProducerFactorySupplier- theDynamicRouterControlProducer.DynamicRouterControlProducerFactorysuppliercontrolServiceFactorySupplier- theDynamicRouterControlService.DynamicRouterControlServiceFactorysupplier- Returns:
- the
DynamicRouterControlEndpoint
-