@Metadata(label="routing,cloud,service-discovery") public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallServiceDiscoveryConfiguration
Constructor and Description |
---|
StaticServiceCallServiceDiscoveryConfiguration() |
StaticServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getServers() |
protected void |
postProcessFactoryParameters(CamelContext camelContext,
Map<String,Object> parameters) |
StaticServiceCallServiceDiscoveryConfiguration |
servers(List<String> servers)
Sets the server list.
|
StaticServiceCallServiceDiscoveryConfiguration |
servers(String servers)
Sets the server list.
|
void |
setServers(List<String> servers)
Sets the server list.
|
end, endParent, getProperties, getPropertiesAsMap, newInstance, property, setProperties
getId, setId
public StaticServiceCallServiceDiscoveryConfiguration()
public StaticServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent)
public List<String> getServers()
public void setServers(List<String> servers)
servers
- a list of servers.public StaticServiceCallServiceDiscoveryConfiguration servers(List<String> servers)
servers
- a list of servers.public StaticServiceCallServiceDiscoveryConfiguration servers(String servers)
servers
- a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:portprotected void postProcessFactoryParameters(CamelContext camelContext, Map<String,Object> parameters) throws Exception
postProcessFactoryParameters
in class ServiceCallServiceDiscoveryConfiguration
Exception
Apache Camel