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