@Metadata(label="routing,cloud,service-discovery") public class ServiceCallServiceChooserConfiguration extends IdentifiedType implements org.apache.camel.cloud.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(org.apache.camel.CamelContext camelContext) |
org.apache.camel.cloud.ServiceChooser |
newInstance(org.apache.camel.CamelContext camelContext) |
protected void |
postProcessFactoryParameters(org.apache.camel.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(org.apache.camel.CamelContext camelContext) throws Exception
Exceptionpublic org.apache.camel.cloud.ServiceChooser newInstance(org.apache.camel.CamelContext camelContext) throws Exception
newInstance in interface org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceChooser>ExceptionApache Camel