Package org.apache.camel.model.cloud
Class ServiceCallServiceChooserConfiguration
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.cloud.ServiceCallConfiguration
-
- org.apache.camel.model.cloud.ServiceCallServiceChooserConfiguration
-
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceChooserFactory
,org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceChooser>
@Metadata(label="routing,cloud,service-discovery") @Configurer(extended=true) public class ServiceCallServiceChooserConfiguration extends ServiceCallConfiguration implements org.apache.camel.cloud.ServiceChooserFactory
-
-
Field Summary
-
Fields inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
properties
-
-
Constructor Summary
Constructors Constructor Description ServiceCallServiceChooserConfiguration()
ServiceCallServiceChooserConfiguration(ServiceCallDefinition parent, String factoryKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCallDefinition
end()
ProcessorDefinition<?>
endParent()
org.apache.camel.cloud.ServiceChooser
newInstance(org.apache.camel.CamelContext camelContext)
ServiceCallServiceChooserConfiguration
property(String key, String value)
Adds a custom property to use.-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
getConfiguredOptions, getProperties, getPropertiesAsMap, postProcessFactoryParameters, setProperties
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Constructor Detail
-
ServiceCallServiceChooserConfiguration
public ServiceCallServiceChooserConfiguration()
-
ServiceCallServiceChooserConfiguration
public ServiceCallServiceChooserConfiguration(ServiceCallDefinition parent, String factoryKey)
-
-
Method Detail
-
end
public ServiceCallDefinition end()
-
endParent
public ProcessorDefinition<?> endParent()
-
property
public ServiceCallServiceChooserConfiguration property(String key, String value)
Description copied from class:ServiceCallConfiguration
Adds a custom property to use. These properties are specific to what service call implementation are in use. For example if using ribbon, then the client properties are define in com.netflix.client.config.CommonClientConfigKey.- Overrides:
property
in classServiceCallConfiguration
-
-