Class ServiceCallDefinition

All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.LineNumberAware, Block, org.apache.camel.NamedNode, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.HasId, org.apache.camel.spi.IdAware

@Metadata(label="eip,routing") @Deprecated public class ServiceCallDefinition extends NoOutputDefinition<ServiceCallDefinition>
Deprecated.
To call remote services
  • Constructor Details

    • ServiceCallDefinition

      public ServiceCallDefinition()
      Deprecated.
    • ServiceCallDefinition

      public ServiceCallDefinition(String name)
      Deprecated.
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getShortName

      public String getShortName()
      Deprecated.
    • getLabel

      public String getLabel()
      Deprecated.
      Description copied from class: ProcessorDefinition
      Returns a label to describe this node such as the expression if some kind of expression node
      Specified by:
      getLabel in interface org.apache.camel.NamedNode
      Overrides:
      getLabel in class ProcessorDefinition<ServiceCallDefinition>
    • getName

      public String getName()
      Deprecated.
    • setName

      public void setName(String name)
      Deprecated.
      Sets the name of the service to use
    • getPattern

      public String getPattern()
      Deprecated.
    • setPattern

      public void setPattern(String pattern)
      Deprecated.
      Sets the optional ExchangePattern used to invoke this endpoint
    • getConfigurationRef

      public String getConfigurationRef()
      Deprecated.
    • setConfigurationRef

      public void setConfigurationRef(String configurationRef)
      Deprecated.
      Refers to a ServiceCall configuration to use
    • getUri

      public String getUri()
      Deprecated.
    • setUri

      public void setUri(String uri)
      Deprecated.
      The uri of the endpoint to send to. The uri can be dynamic computed using the
      invalid reference
      org.apache.camel.language.simple.SimpleLanguage
      expression.
    • getComponent

      public String getComponent()
      Deprecated.
    • setComponent

      public void setComponent(String component)
      Deprecated.
      The component to use.
    • getServiceDiscoveryRef

      public String getServiceDiscoveryRef()
      Deprecated.
    • setServiceDiscoveryRef

      public void setServiceDiscoveryRef(String serviceDiscoveryRef)
      Deprecated.
      Sets a reference to a custom ServiceDiscovery to use.
    • getServiceDiscovery

      public org.apache.camel.cloud.ServiceDiscovery getServiceDiscovery()
      Deprecated.
    • setServiceDiscovery

      public void setServiceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery)
      Deprecated.
      Sets a custom ServiceDiscovery to use.
    • getServiceFilterRef

      public String getServiceFilterRef()
      Deprecated.
    • setServiceFilterRef

      public void setServiceFilterRef(String serviceFilterRef)
      Deprecated.
      Sets a reference to a custom ServiceFilter to use.
    • getServiceFilter

      public org.apache.camel.cloud.ServiceFilter getServiceFilter()
      Deprecated.
    • setServiceFilter

      public void setServiceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter)
      Deprecated.
      Sets a custom ServiceFilter to use.
    • getServiceChooserRef

      public String getServiceChooserRef()
      Deprecated.
    • setServiceChooserRef

      public void setServiceChooserRef(String serviceChooserRef)
      Deprecated.
      Sets a reference to a custom ServiceChooser to use.
    • getServiceChooser

      public org.apache.camel.cloud.ServiceChooser getServiceChooser()
      Deprecated.
    • setServiceChooser

      public void setServiceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser)
      Deprecated.
      Sets a custom ServiceChooser to use.
    • getLoadBalancerRef

      public String getLoadBalancerRef()
      Deprecated.
    • setLoadBalancerRef

      public void setLoadBalancerRef(String loadBalancerRef)
      Deprecated.
      Sets a reference to a custom ServiceLoadBalancer to use.
    • getLoadBalancer

      public org.apache.camel.cloud.ServiceLoadBalancer getLoadBalancer()
      Deprecated.
    • setLoadBalancer

      public void setLoadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer)
      Deprecated.
      Sets a custom ServiceLoadBalancer to use.
    • getExpressionRef

      public String getExpressionRef()
      Deprecated.
    • setExpressionRef

      public void setExpressionRef(String expressionRef)
      Deprecated.
      Set a reference to a custom Expression to use.
    • getExpression

      public org.apache.camel.Expression getExpression()
      Deprecated.
    • setExpression

      public void setExpression(org.apache.camel.Expression expression)
      Deprecated.
      Set a custom Expression to use.
    • getServiceDiscoveryConfiguration

      public ServiceCallServiceDiscoveryConfiguration getServiceDiscoveryConfiguration()
      Deprecated.
    • setServiceDiscoveryConfiguration

      public void setServiceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration)
      Deprecated.
      Configures the ServiceDiscovery using the given configuration.
    • getServiceFilterConfiguration

      public ServiceCallServiceFilterConfiguration getServiceFilterConfiguration()
      Deprecated.
    • setServiceFilterConfiguration

      public void setServiceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration)
      Deprecated.
      Configures the ServiceFilter using the given configuration.
    • getLoadBalancerConfiguration

      public ServiceCallServiceLoadBalancerConfiguration getLoadBalancerConfiguration()
      Deprecated.
    • setLoadBalancerConfiguration

      public void setLoadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration)
      Deprecated.
      Configures the LoadBalancer using the given configuration.
    • getExpressionConfiguration

      public ServiceCallExpressionConfiguration getExpressionConfiguration()
      Deprecated.
    • setExpressionConfiguration

      public void setExpressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration)
      Deprecated.
      Configures the Expression using the given configuration.
    • pattern

      public ServiceCallDefinition pattern(org.apache.camel.ExchangePattern pattern)
      Deprecated.
      Sets the optional ExchangePattern used to invoke this endpoint
    • pattern

      public ServiceCallDefinition pattern(String pattern)
      Deprecated.
      Sets the optional ExchangePattern used to invoke this endpoint
    • name

      public ServiceCallDefinition name(String name)
      Deprecated.
      Sets the name of the service to use
    • uri

      public ServiceCallDefinition uri(String uri)
      Deprecated.
      Sets the uri of the service to use
    • component

      public ServiceCallDefinition component(String component)
      Deprecated.
      Sets the component to use
    • serviceCallConfiguration

      public ServiceCallDefinition serviceCallConfiguration(String ref)
      Deprecated.
      Refers to a ServiceCall configuration to use
    • serviceDiscovery

      public ServiceCallDefinition serviceDiscovery(String serviceDiscoveryRef)
      Deprecated.
      Sets a reference to a custom ServiceDiscovery to use.
    • serviceDiscovery

      public ServiceCallDefinition serviceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery)
      Deprecated.
      Sets a custom ServiceDiscovery to use.
    • serviceFilter

      public ServiceCallDefinition serviceFilter(String serviceFilterRef)
      Deprecated.
      Sets a reference to a custom ServiceFilter to use.
    • serviceFilter

      public ServiceCallDefinition serviceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter)
      Deprecated.
      Sets a custom ServiceFilter to use.
    • serviceChooser

      public ServiceCallDefinition serviceChooser(String serviceChooserRef)
      Deprecated.
      Sets a reference to a custom ServiceChooser to use.
    • serviceChooser

      public ServiceCallDefinition serviceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser)
      Deprecated.
      Sets a custom ServiceChooser to use.
    • loadBalancer

      public ServiceCallDefinition loadBalancer(String loadBalancerRef)
      Deprecated.
      Sets a reference to a custom ServiceLoadBalancer to use.
    • loadBalancer

      public ServiceCallDefinition loadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer)
      Deprecated.
      Sets a custom ServiceLoadBalancer to use.
    • expression

      public ServiceCallDefinition expression(String expressionRef)
      Deprecated.
      Sets a reference to a custom Expression to use.
    • expression

      public ServiceCallDefinition expression(org.apache.camel.Expression expression)
      Deprecated.
      Sets a custom Expression to use.
    • expression

      Deprecated.
      Sets a custom Expression to use through an expression builder clause.
      Returns:
      a expression builder clause to set the body
    • serviceDiscoveryConfiguration

      public ServiceCallDefinition serviceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration)
      Deprecated.
      Configures the ServiceDiscovery using the given configuration.
    • serviceFilterConfiguration

      public ServiceCallDefinition serviceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration)
      Deprecated.
      Configures the ServiceFilter using the given configuration.
    • loadBalancerConfiguration

      public ServiceCallDefinition loadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration)
      Deprecated.
      Configures the LoadBalancer using the given configuration.
    • expressionConfiguration

      public ServiceCallDefinition expressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration)
      Deprecated.
      Configures the Expression using the given configuration.
    • cachingServiceDiscovery

      public CachingServiceCallServiceDiscoveryConfiguration cachingServiceDiscovery()
      Deprecated.
    • consulServiceDiscovery

      public ConsulServiceCallServiceDiscoveryConfiguration consulServiceDiscovery()
      Deprecated.
    • consulServiceDiscovery

      public ServiceCallDefinition consulServiceDiscovery(String url)
      Deprecated.
    • dnsServiceDiscovery

      public DnsServiceCallServiceDiscoveryConfiguration dnsServiceDiscovery()
      Deprecated.
    • dnsServiceDiscovery

      public ServiceCallDefinition dnsServiceDiscovery(String domain)
      Deprecated.
    • dnsServiceDiscovery

      public ServiceCallDefinition dnsServiceDiscovery(String domain, String protocol)
      Deprecated.
    • kubernetesServiceDiscovery

      public KubernetesServiceCallServiceDiscoveryConfiguration kubernetesServiceDiscovery()
      Deprecated.
    • kubernetesClientServiceDiscovery

      public KubernetesServiceCallServiceDiscoveryConfiguration kubernetesClientServiceDiscovery()
      Deprecated.
    • kubernetesEnvServiceDiscovery

      public ServiceCallDefinition kubernetesEnvServiceDiscovery()
      Deprecated.
    • kubernetesDnsServiceDiscovery

      public ServiceCallDefinition kubernetesDnsServiceDiscovery(String namespace, String domain)
      Deprecated.
    • combinedServiceDiscovery

      public CombinedServiceCallServiceDiscoveryConfiguration combinedServiceDiscovery()
      Deprecated.
    • staticServiceDiscovery

      public StaticServiceCallServiceDiscoveryConfiguration staticServiceDiscovery()
      Deprecated.
    • zookeeperServiceDiscovery

      public ZooKeeperServiceCallServiceDiscoveryConfiguration zookeeperServiceDiscovery()
      Deprecated.
    • zookeeperServiceDiscovery

      public ServiceCallDefinition zookeeperServiceDiscovery(String nodes, String basePath)
      Deprecated.
    • healthyFilter

      public ServiceCallDefinition healthyFilter()
      Deprecated.
    • passThroughFilter

      public ServiceCallDefinition passThroughFilter()
      Deprecated.
    • combinedFilter

      Deprecated.
    • blacklistFilter

      Deprecated.
    • customFilter

      public ServiceCallDefinition customFilter(String serviceFilter)
      Deprecated.
    • customFilter

      public ServiceCallDefinition customFilter(org.apache.camel.cloud.ServiceFilter serviceFilter)
      Deprecated.
    • defaultLoadBalancer

      public ServiceCallDefinition defaultLoadBalancer()
      Deprecated.