Package org.apache.camel.model.cloud
Class ServiceCallConfiguration
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.cloud.ServiceCallConfiguration
-
- Direct Known Subclasses:
ServiceCallExpressionConfiguration
,ServiceCallServiceChooserConfiguration
,ServiceCallServiceDiscoveryConfiguration
,ServiceCallServiceFilterConfiguration
,ServiceCallServiceLoadBalancerConfiguration
@Configurer public abstract class ServiceCallConfiguration extends IdentifiedType
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PropertyDefinition>
properties
-
Constructor Summary
Constructors Constructor Description ServiceCallConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
getConfiguredOptions(org.apache.camel.CamelContext context, Object target)
List<PropertyDefinition>
getProperties()
protected Map<String,String>
getPropertiesAsMap(org.apache.camel.CamelContext camelContext)
protected void
postProcessFactoryParameters(org.apache.camel.CamelContext camelContext, Map<String,Object> parameters)
ServiceCallConfiguration
property(String key, String value)
Adds a custom property to use.void
setProperties(List<PropertyDefinition> properties)
Set client properties to use.-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Field Detail
-
properties
@Metadata(label="advanced") protected List<PropertyDefinition> properties
-
-
Method Detail
-
getProperties
public List<PropertyDefinition> getProperties()
-
setProperties
public void setProperties(List<PropertyDefinition> properties)
Set client properties to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.
-
property
public ServiceCallConfiguration property(String key, String value)
Adds a custom property to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.
-
getPropertiesAsMap
protected Map<String,String> getPropertiesAsMap(org.apache.camel.CamelContext camelContext) throws Exception
- Throws:
Exception
-
getConfiguredOptions
protected Map<String,Object> getConfiguredOptions(org.apache.camel.CamelContext context, Object target)
-
-