Package org.apache.camel.model.cloud
Class ServiceCallDefinition
java.lang.Object
org.apache.camel.model.OptionalIdentifiedDefinition<Type>
org.apache.camel.model.ProcessorDefinition<Type>
org.apache.camel.model.NoOutputDefinition<ServiceCallDefinition>
org.apache.camel.model.cloud.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
-
Field Summary
Fields inherited from class org.apache.camel.model.ProcessorDefinition
disabled, inheritErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Sets the component to useDeprecated.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.Deprecated.org.apache.camel.Expression
Deprecated.Deprecated.Deprecated.getLabel()
Deprecated.Returns a label to describe this node such as the expression if some kind of expression nodeorg.apache.camel.cloud.ServiceLoadBalancer
Deprecated.Deprecated.Deprecated.getName()
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.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.Sets the name of the service to useDeprecated.Deprecated.Sets the optionalExchangePattern
used to invoke this endpointpattern
(org.apache.camel.ExchangePattern pattern) Deprecated.Sets the optionalExchangePattern
used to invoke this endpointDeprecated.Refers to a ServiceCall configuration to useserviceChooser
(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
setConfigurationRef
(String configurationRef) Deprecated.Refers to a ServiceCall configuration to usevoid
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 the LoadBalancer using the given configuration.void
setLoadBalancerRef
(String loadBalancerRef) Deprecated.Sets a reference to a customServiceLoadBalancer
to use.void
Deprecated.Sets the name of the service to usevoid
setPattern
(String pattern) Deprecated.Sets the optionalExchangePattern
used to invoke this endpointvoid
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.toString()
Deprecated.Deprecated.Sets the uri of the service to useDeprecated.zookeeperServiceDiscovery
(String nodes, String basePath) Deprecated.Methods inherited from class org.apache.camel.model.NoOutputDefinition
getOutputs
Methods inherited from class org.apache.camel.model.ProcessorDefinition
addInterceptStrategy, addOutput, aggregate, aggregate, aggregate, aggregate, bean, bean, bean, bean, bean, bean, bean, bean, bean, bean, bean, choice, circuitBreaker, claimCheck, claimCheck, claimCheck, claimCheck, clearOutput, configureChild, convertBodyTo, convertBodyTo, convertBodyTo, delay, delay, delay, disabled, disabled, disabled, doTry, dynamicRouter, dynamicRouter, end, endChoice, endCircuitBreaker, endDoCatch, endDoTry, endParent, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrichWith, enrichWith, enrichWith, enrichWith, enrichWith, enrichWith, filter, filter, filter, filter, getDisabled, getIndex, getInterceptStrategies, getParent, getRouteConfiguration, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, isTopLevelOnly, isWrappingEntireOutput, kamelet, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, loopDoWhile, loopDoWhile, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, nodePrefixId, onCompletion, onException, onException, pausable, pausable, pausable, pausable, pipeline, pipeline, pipeline, pipeline, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollEnrichWith, preCreateProcessor, process, process, process, recipientList, recipientList, recipientList, recipientList, removeHeader, removeHeaders, removeHeaders, removeProperties, removeProperties, removeProperty, resequence, resequence, resumable, resumable, resumable, rollback, rollback, routeDescription, routeGroup, routeId, routingSlip, routingSlip, routingSlip, saga, sample, sample, sample, sample, sample, script, script, serviceCall, serviceCall, serviceCall, setBody, setBody, setBody, setDisabled, setExchangePattern, setExchangePattern, setHeader, setHeader, setHeader, setInheritErrorHandler, setParent, setProperty, setProperty, setProperty, setRouteConfiguration, sort, sort, sort, split, split, split, split, startupOrder, step, step, stop, threads, threads, threads, threads, throttle, throttle, throttle, throttle, throttle, throwException, throwException, to, to, to, to, to, to, to, to, to, to, to, to, to, to, toD, toD, toD, toD, toD, toD, toD, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap
Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition
description, description, getCamelContext, getCustomId, getDescription, getDescriptionText, getId, getLineNumber, getLocation, hasCustomIdAssigned, idOrCreate, setCamelContext, setCustomId, setDescription, setGeneratedId, setId, setLineNumber, setLocation
-
Constructor Details
-
ServiceCallDefinition
public ServiceCallDefinition()Deprecated. -
ServiceCallDefinition
Deprecated.
-
-
Method Details
-
toString
Deprecated. -
getShortName
Deprecated. -
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 interfaceorg.apache.camel.NamedNode
- Overrides:
getLabel
in classProcessorDefinition<ServiceCallDefinition>
-
getName
Deprecated. -
setName
Deprecated.Sets the name of the service to use -
getPattern
Deprecated. -
setPattern
Deprecated.Sets the optionalExchangePattern
used to invoke this endpoint -
getConfigurationRef
Deprecated. -
setConfigurationRef
Deprecated.Refers to a ServiceCall configuration to use -
getUri
Deprecated. -
setUri
Deprecated.The uri of the endpoint to send to. The uri can be dynamic computed using theorg.apache.camel.language.simple.SimpleLanguage
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 the LoadBalancer using the given configuration. -
getExpressionConfiguration
Deprecated. -
setExpressionConfiguration
Deprecated.Configures the Expression using the given configuration. -
pattern
Deprecated.Sets the optionalExchangePattern
used to invoke this endpoint -
pattern
Deprecated.Sets the optionalExchangePattern
used to invoke this endpoint -
name
Deprecated.Sets the name of the service to use -
uri
Deprecated.Sets the uri of the service to use -
component
Deprecated.Sets the component to use -
serviceCallConfiguration
Deprecated.Refers to a ServiceCall configuration to use -
serviceDiscovery
Deprecated.Sets a reference to a customServiceDiscovery
to use. -
serviceDiscovery
public ServiceCallDefinition serviceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscovery
to use. -
serviceFilter
Deprecated.Sets a reference to a customServiceFilter
to use. -
serviceFilter
Deprecated.Sets a customServiceFilter
to use. -
serviceChooser
Deprecated.Sets a reference to a customServiceChooser
to use. -
serviceChooser
Deprecated.Sets a customServiceChooser
to use. -
loadBalancer
Deprecated.Sets a reference to a customServiceLoadBalancer
to use. -
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 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
Deprecated. -
consulServiceDiscovery
Deprecated. -
consulServiceDiscovery
Deprecated. -
dnsServiceDiscovery
Deprecated. -
dnsServiceDiscovery
Deprecated. -
dnsServiceDiscovery
Deprecated. -
kubernetesServiceDiscovery
Deprecated. -
kubernetesClientServiceDiscovery
Deprecated. -
kubernetesEnvServiceDiscovery
Deprecated. -
kubernetesDnsServiceDiscovery
Deprecated. -
combinedServiceDiscovery
Deprecated. -
staticServiceDiscovery
Deprecated. -
zookeeperServiceDiscovery
Deprecated. -
zookeeperServiceDiscovery
Deprecated. -
healthyFilter
Deprecated. -
passThroughFilter
Deprecated. -
combinedFilter
Deprecated. -
blacklistFilter
Deprecated. -
customFilter
Deprecated. -
customFilter
Deprecated. -
defaultLoadBalancer
Deprecated.
-