Package org.apache.camel.model.cloud
Class ServiceCallConfigurationDefinition
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.cloud.ServiceCallConfigurationDefinition
@Metadata(label="routing,cloud")
@Deprecated
public class ServiceCallConfigurationDefinition
extends IdentifiedType
Deprecated.
Remote service call configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Sets the default Camel component to use for calling the remote service.Deprecated.customFilter
(String serviceFilter) Deprecated.customFilter
(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Deprecated.Deprecated.dnsServiceDiscovery
(String domain) Deprecated.dnsServiceDiscovery
(String domain, String protocol) Deprecated.Deprecated.Sets a customExpression
to use through an expression builder clause.expression
(String expressionRef) Deprecated.Sets a reference to a customExpression
to use.expression
(org.apache.camel.Expression expression) Deprecated.Sets a customExpression
to use.expressionConfiguration
(ServiceCallExpressionConfiguration expressionConfiguration) Deprecated.Configures the Expression using the given configuration.Deprecated.org.apache.camel.Expression
Deprecated.Deprecated.Deprecated.org.apache.camel.cloud.ServiceLoadBalancer
Deprecated.Deprecated.Deprecated.Deprecated.org.apache.camel.cloud.ServiceChooser
Deprecated.Deprecated.org.apache.camel.cloud.ServiceDiscovery
Deprecated.Deprecated.Deprecated.org.apache.camel.cloud.ServiceFilter
Deprecated.Deprecated.Deprecated.getUri()
Deprecated.Deprecated.Deprecated.kubernetesDnsServiceDiscovery
(String namespace, String domain) Deprecated.Deprecated.Deprecated.loadBalancer
(String loadBalancerRef) Deprecated.Sets a reference to a customServiceLoadBalancer
to use.loadBalancer
(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancer
to use.loadBalancerConfiguration
(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration) Deprecated.Configures the LoadBalancer using the given configuration.Deprecated.Deprecated.Sets the optionalExchangePattern
used to invoke this endpointpattern
(org.apache.camel.ExchangePattern pattern) Deprecated.Sets the optionalExchangePattern
used to invoke this endpointserviceChooser
(String serviceChooserRef) Deprecated.Sets a reference to a customServiceChooser
to use.serviceChooser
(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooser
to use.serviceDiscovery
(String serviceDiscoveryRef) Deprecated.Sets a reference to a customServiceDiscovery
to use.serviceDiscovery
(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscovery
to use.serviceDiscoveryConfiguration
(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration) Deprecated.Configures the ServiceDiscovery using the given configuration.serviceFilter
(String serviceFilterRef) Deprecated.Sets a reference to a customServiceFilter
to use.serviceFilter
(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilter
to use.serviceFilterConfiguration
(ServiceCallServiceFilterConfiguration serviceFilterConfiguration) Deprecated.Configures the ServiceFilter using the given configuration.void
setComponent
(String component) Deprecated.The component to use.void
setExpression
(org.apache.camel.Expression expression) Deprecated.Set a customExpression
to use.void
setExpressionConfiguration
(ServiceCallExpressionConfiguration expressionConfiguration) Deprecated.Configures the Expression using the given configuration.void
setExpressionRef
(String expressionRef) Deprecated.Set a reference to a customExpression
to use.void
setLoadBalancer
(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancer
to use.void
setLoadBalancerConfiguration
(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration) Deprecated.Configures theL oadBalancer using the given configuration.void
setLoadBalancerRef
(String loadBalancerRef) Deprecated.Sets a reference to a customServiceLoadBalancer
to use.void
setPattern
(String pattern) Deprecated.void
setServiceChooser
(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooser
to use.void
setServiceChooserRef
(String serviceChooserRef) Deprecated.Sets a reference to a customServiceChooser
to use.void
setServiceDiscovery
(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscovery
to use.void
setServiceDiscoveryConfiguration
(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration) Deprecated.Configures the ServiceDiscovery using the given configuration.void
setServiceDiscoveryRef
(String serviceDiscoveryRef) Deprecated.Sets a reference to a customServiceDiscovery
to use.void
setServiceFilter
(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilter
to use.void
setServiceFilterConfiguration
(ServiceCallServiceFilterConfiguration serviceFilterConfiguration) Deprecated.Configures the ServiceFilter using the given configuration.void
setServiceFilterRef
(String serviceFilterRef) Deprecated.Sets a reference to a customServiceFilter
to use.void
Deprecated.The uri of the endpoint to send to.Deprecated.Deprecated.Deprecated.Sets the uri of the service to useDeprecated.zookeeperServiceDiscovery
(String nodes, String basePath) Deprecated.Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
Constructor Details
-
ServiceCallConfigurationDefinition
public ServiceCallConfigurationDefinition()Deprecated.
-
-
Method Details
-
getPattern
Deprecated. -
setPattern
Deprecated. -
getUri
Deprecated. -
setUri
Deprecated.The uri of the endpoint to send to. The uri can be dynamic computed using the simple language expression. -
getComponent
Deprecated. -
setComponent
Deprecated.The component to use. -
getServiceDiscoveryRef
Deprecated. -
setServiceDiscoveryRef
Deprecated.Sets a reference to a customServiceDiscovery
to use. -
getServiceDiscovery
public org.apache.camel.cloud.ServiceDiscovery getServiceDiscovery()Deprecated. -
setServiceDiscovery
public void setServiceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscovery
to use. -
getServiceFilterRef
Deprecated. -
setServiceFilterRef
Deprecated.Sets a reference to a customServiceFilter
to use. -
getServiceFilter
public org.apache.camel.cloud.ServiceFilter getServiceFilter()Deprecated. -
setServiceFilter
public void setServiceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilter
to use. -
getServiceChooserRef
Deprecated. -
setServiceChooserRef
Deprecated.Sets a reference to a customServiceChooser
to use. -
getServiceChooser
public org.apache.camel.cloud.ServiceChooser getServiceChooser()Deprecated. -
setServiceChooser
public void setServiceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooser
to use. -
getLoadBalancerRef
Deprecated. -
setLoadBalancerRef
Deprecated.Sets a reference to a customServiceLoadBalancer
to use. -
getLoadBalancer
public org.apache.camel.cloud.ServiceLoadBalancer getLoadBalancer()Deprecated. -
setLoadBalancer
public void setLoadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancer
to use. -
getExpressionRef
Deprecated. -
setExpressionRef
Deprecated.Set a reference to a customExpression
to use. -
getExpression
public org.apache.camel.Expression getExpression()Deprecated. -
setExpression
public void setExpression(org.apache.camel.Expression expression) Deprecated.Set a customExpression
to use. -
getServiceDiscoveryConfiguration
Deprecated. -
setServiceDiscoveryConfiguration
public void setServiceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration) Deprecated.Configures the ServiceDiscovery using the given configuration. -
getServiceFilterConfiguration
Deprecated. -
setServiceFilterConfiguration
public void setServiceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration) Deprecated.Configures the ServiceFilter using the given configuration. -
getLoadBalancerConfiguration
Deprecated. -
setLoadBalancerConfiguration
public void setLoadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration) Deprecated.Configures theL oadBalancer using the given configuration. -
getExpressionConfiguration
Deprecated. -
setExpressionConfiguration
Deprecated.Configures the Expression using the given configuration. -
component
Deprecated.Sets the default Camel component to use for calling the remote service. By default the http component is used. You can configure this to use netty-http, jetty, undertow or some other components of choice. If the service is not HTTP protocol you can use other components such as mqtt, jms, amqp etc. If the service call has been configured using an uri, then the component from the uri is used instead of this default component. -
uri
Deprecated.Sets the uri of the service to use -
pattern
Deprecated.Sets the optionalExchangePattern
used to invoke this endpoint -
pattern
Deprecated.Sets the optionalExchangePattern
used to invoke this endpoint -
serviceDiscovery
Deprecated.Sets a reference to a customServiceDiscovery
to use. -
serviceDiscovery
public ServiceCallConfigurationDefinition serviceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscovery
to use. -
serviceFilter
Deprecated.Sets a reference to a customServiceFilter
to use. -
serviceFilter
public ServiceCallConfigurationDefinition serviceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilter
to use. -
serviceChooser
Deprecated.Sets a reference to a customServiceChooser
to use. -
serviceChooser
public ServiceCallConfigurationDefinition serviceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooser
to use. -
loadBalancer
Deprecated.Sets a reference to a customServiceLoadBalancer
to use. -
loadBalancer
public ServiceCallConfigurationDefinition loadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancer
to use. -
expression
Deprecated.Sets a reference to a customExpression
to use. -
expression
Deprecated.Sets a customExpression
to use. -
expression
Deprecated.Sets a customExpression
to use through an expression builder clause.- Returns:
- a expression builder clause to set the body
-
serviceDiscoveryConfiguration
public ServiceCallConfigurationDefinition serviceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration) Deprecated.Configures the ServiceDiscovery using the given configuration. -
serviceFilterConfiguration
public ServiceCallConfigurationDefinition serviceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration) Deprecated.Configures the ServiceFilter using the given configuration. -
loadBalancerConfiguration
public ServiceCallConfigurationDefinition loadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration) Deprecated.Configures the LoadBalancer using the given configuration. -
expressionConfiguration
public ServiceCallConfigurationDefinition expressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration) Deprecated.Configures the Expression using the given configuration. -
cachingServiceDiscovery
Deprecated. -
consulServiceDiscovery
Deprecated. -
dnsServiceDiscovery
Deprecated. -
dnsServiceDiscovery
Deprecated. -
dnsServiceDiscovery
Deprecated. -
kubernetesServiceDiscovery
Deprecated. -
kubernetesClientServiceDiscovery
Deprecated. -
kubernetesEnvServiceDiscovery
Deprecated. -
kubernetesDnsServiceDiscovery
public ServiceCallConfigurationDefinition kubernetesDnsServiceDiscovery(String namespace, String domain) Deprecated. -
combinedServiceDiscovery
Deprecated. -
combinedServiceDiscovery
public ServiceCallConfigurationDefinition combinedServiceDiscovery(CombinedServiceCallServiceDiscoveryConfiguration conf) Deprecated. -
staticServiceDiscovery
Deprecated. -
staticServiceDiscovery
public ServiceCallConfigurationDefinition staticServiceDiscovery(StaticServiceCallServiceDiscoveryConfiguration conf) Deprecated. -
zookeeperServiceDiscovery
Deprecated. -
zookeeperServiceDiscovery
Deprecated. -
healthyFilter
Deprecated. -
passThroughFilter
Deprecated. -
combinedFilter
Deprecated. -
blacklistFilter
Deprecated. -
customFilter
Deprecated. -
customFilter
public ServiceCallConfigurationDefinition customFilter(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated. -
defaultLoadBalancer
Deprecated.
-