public abstract class DefaultServiceCallProcessorFactory<C,S extends ServiceCallServer> extends Object implements ProcessorFactory
| Constructor and Description |
|---|
DefaultServiceCallProcessorFactory() |
public DefaultServiceCallProcessorFactory()
public Processor createChildProcessor(RouteContext routeContext, ProcessorDefinition<?> definition, boolean mandatory) throws Exception
ProcessorFactorycreateChildProcessor in interface ProcessorFactoryrouteContext - the route contextdefinition - the definition which represents the processormandatory - whether or not the child is mandatoryException - can be thrown if error creating the processorpublic Processor createProcessor(RouteContext routeContext, ProcessorDefinition<?> definition) throws Exception
ProcessorFactorycreateProcessor in interface ProcessorFactoryrouteContext - the route contextdefinition - the definition which represents the processorException - can be thrown if error creating the processorprotected Processor createProcessor(RouteContext routeContext, ServiceCallDefinition definition, C cfg) throws Exception
Exceptionprotected Map<String,String> configureProperties(RouteContext routeContext, ServiceCallConfigurationDefinition config, ServiceCallConfigurationDefinition configRef) throws Exception
Exceptionprotected ServiceCallLoadBalancer configureLoadBalancer(C conf, RouteContext routeContext, ServiceCallDefinition sd) throws Exception
Exceptionprotected ServiceCallLoadBalancer configureLoadBalancer(C conf, RouteContext routeContext, ServiceCallConfigurationDefinition config) throws Exception
Exceptionprotected ServiceCallServerListStrategy configureServerListStrategy(C conf, RouteContext routeContext, ServiceCallDefinition sd) throws Exception
Exceptionprotected ServiceCallServerListStrategy configureServerListStrategy(C conf, RouteContext routeContext, ServiceCallConfigurationDefinition config) throws Exception
Exceptionprotected Optional<ServiceCallLoadBalancer> builtInLoadBalancer(C conf, String name) throws Exception
Exceptionprotected Optional<ServiceCallServerListStrategy> builtInServerListStrategy(C conf, String name) throws Exception
Exceptionprotected DefaultServiceCallProcessor createProcessor(String name, String component, String uri, ExchangePattern mep, C conf, Map<String,String> properties) throws Exception
Exceptionprotected abstract C createConfiguration(RouteContext routeContext) throws Exception
Exceptionprotected ServiceCallLoadBalancer<S> createDefaultLoadBalancer(C conf) throws Exception
Exceptionprotected ServiceCallServerListStrategy<S> createDefaultServerListStrategy(C conf) throws Exception
ExceptionApache Camel