Class ServiceCallDefinition

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.apache.camel.LineNumberAware, Block, org.apache.camel.NamedNode, 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 Detail

      • ServiceCallDefinition

        public ServiceCallDefinition()
        Deprecated.
      • ServiceCallDefinition

        public ServiceCallDefinition​(String name)
        Deprecated.
    • Method Detail

      • getShortName

        public String getShortName()
        Deprecated.
      • 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 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.
      • setServiceDiscoveryConfiguration

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

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

        public void setLoadBalancerConfiguration​(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration)
        Deprecated.
        Configures the LoadBalancer using the given configuration.
      • 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
      • 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

        public ExpressionClause<ServiceCallDefinition> expression()
        Deprecated.
        Sets a custom Expression to use through an expression builder clause.
        Returns:
        a expression builder clause to set the body
      • kubernetesEnvServiceDiscovery

        public ServiceCallDefinition kubernetesEnvServiceDiscovery()
        Deprecated.
      • customFilter

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