@Metadata(label="routing,cloud,service-filter") public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallServiceFilterConfiguration
Constructor and Description |
---|
BlacklistServiceCallServiceFilterConfiguration() |
BlacklistServiceCallServiceFilterConfiguration(ServiceCallDefinition parent) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getServers() |
protected void |
postProcessFactoryParameters(CamelContext camelContext,
Map<String,Object> parameters) |
BlacklistServiceCallServiceFilterConfiguration |
servers(List<String> servers)
Sets the server blacklist.
|
BlacklistServiceCallServiceFilterConfiguration |
servers(String servers)
Sets the server blacklist.
|
void |
setServers(List<String> servers)
Sets the server blacklist.
|
end, endParent, getProperties, getPropertiesAsMap, newInstance, property, setProperties
getId, setId
public BlacklistServiceCallServiceFilterConfiguration()
public BlacklistServiceCallServiceFilterConfiguration(ServiceCallDefinition parent)
public List<String> getServers()
public void setServers(List<String> servers)
servers
- a list of servers.public BlacklistServiceCallServiceFilterConfiguration servers(List<String> servers)
servers
- a list of servers.public BlacklistServiceCallServiceFilterConfiguration 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 ServiceCallServiceFilterConfiguration
Exception
Apache Camel