Package org.apache.camel.model.cloud
Class StaticServiceCallServiceDiscoveryConfiguration
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.cloud.ServiceCallConfiguration
-
- org.apache.camel.model.cloud.ServiceCallServiceDiscoveryConfiguration
-
- org.apache.camel.model.cloud.StaticServiceCallServiceDiscoveryConfiguration
-
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceDiscoveryFactory
,org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>
@Metadata(label="routing,cloud,service-discovery") @Configurer(extended=true) @Deprecated public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallServiceDiscoveryConfiguration
Deprecated.
-
-
Field Summary
-
Fields inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
properties
-
-
Constructor Summary
Constructors Constructor Description StaticServiceCallServiceDiscoveryConfiguration()
Deprecated.StaticServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>
getServers()
Deprecated.protected void
postProcessFactoryParameters(org.apache.camel.CamelContext camelContext, Map<String,Object> parameters)
Deprecated.StaticServiceCallServiceDiscoveryConfiguration
servers(String servers)
Deprecated.Sets the server list.StaticServiceCallServiceDiscoveryConfiguration
servers(List<String> servers)
Deprecated.Sets the server list.void
setServers(List<String> servers)
Deprecated.Sets the server list.-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallServiceDiscoveryConfiguration
end, endParent, newInstance, property
-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
getConfiguredOptions, getProperties, getPropertiesAsMap, setProperties
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Constructor Detail
-
StaticServiceCallServiceDiscoveryConfiguration
public StaticServiceCallServiceDiscoveryConfiguration()
Deprecated.
-
StaticServiceCallServiceDiscoveryConfiguration
public StaticServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent)
Deprecated.
-
-
Method Detail
-
setServers
public void setServers(List<String> servers)
Deprecated.Sets the server list. Each entry can be a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port- Parameters:
servers
- a list of servers.
-
servers
public StaticServiceCallServiceDiscoveryConfiguration servers(List<String> servers)
Deprecated.Sets the server list. Each entry can be a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port- Parameters:
servers
- a list of servers.- Returns:
- this instance
-
servers
public StaticServiceCallServiceDiscoveryConfiguration servers(String servers)
Deprecated.Sets the server list.- Parameters:
servers
- a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port- Returns:
- this instance
-
postProcessFactoryParameters
protected void postProcessFactoryParameters(org.apache.camel.CamelContext camelContext, Map<String,Object> parameters) throws Exception
Deprecated.- Overrides:
postProcessFactoryParameters
in classServiceCallConfiguration
- Throws:
Exception
-
-