@Metadata(label="routing,cloud,load-balancing") public class ServiceCallServiceLoadBalancerConfiguration extends IdentifiedType implements ServiceLoadBalancerFactory
Constructor and Description |
---|
ServiceCallServiceLoadBalancerConfiguration() |
ServiceCallServiceLoadBalancerConfiguration(ServiceCallDefinition parent,
String factoryKey) |
Modifier and Type | Method and Description |
---|---|
ServiceCallDefinition |
end() |
ProcessorDefinition<?> |
endParent() |
List<PropertyDefinition> |
getProperties() |
protected Map<String,String> |
getPropertiesAsMap(CamelContext camelContext) |
ServiceLoadBalancer |
newInstance(CamelContext camelContext)
Creates an instance of a service.
|
protected void |
postProcessFactoryParameters(CamelContext camelContext,
Map<String,Object> parameters) |
ServiceCallServiceLoadBalancerConfiguration |
property(String key,
String value)
Adds a custom property to use.
|
void |
setProperties(List<PropertyDefinition> properties)
Set client properties to use.
|
getId, setId
public ServiceCallServiceLoadBalancerConfiguration()
public ServiceCallServiceLoadBalancerConfiguration(ServiceCallDefinition parent, String factoryKey)
public ServiceCallDefinition end()
public ProcessorDefinition<?> endParent()
public List<PropertyDefinition> getProperties()
public void setProperties(List<PropertyDefinition> properties)
public ServiceCallServiceLoadBalancerConfiguration property(String key, String value)
protected Map<String,String> getPropertiesAsMap(CamelContext camelContext) throws Exception
Exception
public ServiceLoadBalancer newInstance(CamelContext camelContext) throws Exception
ServiceFactory
newInstance
in interface ServiceFactory<ServiceLoadBalancer>
Exception
protected void postProcessFactoryParameters(CamelContext camelContext, Map<String,Object> parameters) throws Exception
Exception
Apache Camel