@Metadata(label="routing,cloud,service-discovery") public class ServiceCallServiceDiscoveryConfiguration extends IdentifiedType implements org.apache.camel.cloud.ServiceDiscoveryFactory
Constructor and Description |
---|
ServiceCallServiceDiscoveryConfiguration() |
ServiceCallServiceDiscoveryConfiguration(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.ServiceDiscovery |
newInstance(org.apache.camel.CamelContext camelContext) |
protected void |
postProcessFactoryParameters(org.apache.camel.CamelContext camelContext,
Map<String,Object> parameters) |
ServiceCallServiceDiscoveryConfiguration |
property(String key,
String value)
Adds a custom property to use.
|
void |
setProperties(List<PropertyDefinition> properties)
Set client properties to use.
|
getId, setId
public ServiceCallServiceDiscoveryConfiguration()
public ServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent, String factoryKey)
public ServiceCallDefinition end()
public ProcessorDefinition<?> endParent()
public List<PropertyDefinition> getProperties()
public void setProperties(List<PropertyDefinition> properties)
public ServiceCallServiceDiscoveryConfiguration property(String key, String value)
protected Map<String,String> getPropertiesAsMap(org.apache.camel.CamelContext camelContext) throws Exception
Exception
public org.apache.camel.cloud.ServiceDiscovery newInstance(org.apache.camel.CamelContext camelContext) throws Exception
newInstance
in interface org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>
Exception
Apache Camel