Package org.apache.camel.model.cloud
Class BlacklistServiceCallServiceFilterConfiguration
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.cloud.ServiceCallConfiguration
-
- org.apache.camel.model.cloud.ServiceCallServiceFilterConfiguration
-
- org.apache.camel.model.cloud.BlacklistServiceCallServiceFilterConfiguration
-
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceFilter>
,org.apache.camel.cloud.ServiceFilterFactory
@Metadata(label="routing,cloud,service-filter") public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallServiceFilterConfiguration
-
-
Field Summary
-
Fields inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
properties
-
-
Constructor Summary
Constructors Constructor Description BlacklistServiceCallServiceFilterConfiguration()
BlacklistServiceCallServiceFilterConfiguration(ServiceCallDefinition parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getServers()
protected void
postProcessFactoryParameters(org.apache.camel.CamelContext camelContext, Map<String,Object> parameters)
BlacklistServiceCallServiceFilterConfiguration
servers(String servers)
Sets the server blacklist.BlacklistServiceCallServiceFilterConfiguration
servers(List<String> servers)
Sets the server blacklist.void
setServers(List<String> servers)
Sets the server blacklist.-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallServiceFilterConfiguration
end, endParent, newInstance, property
-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
getProperties, getPropertiesAsMap, setProperties
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Constructor Detail
-
BlacklistServiceCallServiceFilterConfiguration
public BlacklistServiceCallServiceFilterConfiguration()
-
BlacklistServiceCallServiceFilterConfiguration
public BlacklistServiceCallServiceFilterConfiguration(ServiceCallDefinition parent)
-
-
Method Detail
-
setServers
public void setServers(List<String> servers)
Sets the server blacklist. 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 BlacklistServiceCallServiceFilterConfiguration servers(List<String> servers)
Sets the server blacklist. 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 BlacklistServiceCallServiceFilterConfiguration servers(String servers)
Sets the server blacklist.- 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
- Overrides:
postProcessFactoryParameters
in classServiceCallConfiguration
- Throws:
Exception
-
-