Package org.apache.camel.model.cloud
Class ServiceCallDefinition
java.lang.Object
org.apache.camel.model.OptionalIdentifiedDefinition<ServiceCallDefinition>
org.apache.camel.model.ProcessorDefinition<ServiceCallDefinition>
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.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
-
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 customExpressionto use through an expression builder clause.expression(String expressionRef) Deprecated.Sets a reference to a customExpressionto use.expression(org.apache.camel.Expression expression) Deprecated.Sets a customExpressionto use.expressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration) Deprecated.Configures the Expression using the given configuration.Deprecated.Deprecated.org.apache.camel.ExpressionDeprecated.Deprecated.Deprecated.getLabel()Deprecated.Returns a label to describe this node such as the expression if some kind of expression nodeorg.apache.camel.cloud.ServiceLoadBalancerDeprecated.Deprecated.Deprecated.getName()Deprecated.Deprecated.org.apache.camel.cloud.ServiceChooserDeprecated.Deprecated.org.apache.camel.cloud.ServiceDiscoveryDeprecated.Deprecated.Deprecated.org.apache.camel.cloud.ServiceFilterDeprecated.Deprecated.Deprecated.Deprecated.getUri()Deprecated.Deprecated.Deprecated.kubernetesDnsServiceDiscovery(String namespace, String domain) Deprecated.Deprecated.Deprecated.loadBalancer(String loadBalancerRef) Deprecated.Sets a reference to a customServiceLoadBalancerto use.loadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancerto use.loadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration) Deprecated.Configures the LoadBalancer using the given configuration.Deprecated.Sets the name of the service to useDeprecated.Deprecated.Sets the optionalExchangePatternused to invoke this endpointpattern(org.apache.camel.ExchangePattern pattern) Deprecated.Sets the optionalExchangePatternused to invoke this endpointDeprecated.Refers to a ServiceCall configuration to useserviceChooser(String serviceChooserRef) Deprecated.Sets a reference to a customServiceChooserto use.serviceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooserto use.serviceDiscovery(String serviceDiscoveryRef) Deprecated.Sets a reference to a customServiceDiscoveryto use.serviceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscoveryto use.serviceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration) Deprecated.Configures the ServiceDiscovery using the given configuration.serviceFilter(String serviceFilterRef) Deprecated.Sets a reference to a customServiceFilterto use.serviceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilterto use.serviceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration) Deprecated.Configures the ServiceFilter using the given configuration.voidsetComponent(String component) Deprecated.The component to use.voidsetConfigurationRef(String configurationRef) Deprecated.Refers to a ServiceCall configuration to usevoidsetExpression(org.apache.camel.Expression expression) Deprecated.Set a customExpressionto use.voidsetExpressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration) Deprecated.Configures the Expression using the given configuration.voidsetExpressionRef(String expressionRef) Deprecated.Set a reference to a customExpressionto use.voidsetLoadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancerto use.voidsetLoadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration) Deprecated.Configures the LoadBalancer using the given configuration.voidsetLoadBalancerRef(String loadBalancerRef) Deprecated.Sets a reference to a customServiceLoadBalancerto use.voidDeprecated.Sets the name of the service to usevoidsetPattern(String pattern) Deprecated.Sets the optionalExchangePatternused to invoke this endpointvoidsetServiceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooserto use.voidsetServiceChooserRef(String serviceChooserRef) Deprecated.Sets a reference to a customServiceChooserto use.voidsetServiceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscoveryto use.voidsetServiceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration) Deprecated.Configures the ServiceDiscovery using the given configuration.voidsetServiceDiscoveryRef(String serviceDiscoveryRef) Deprecated.Sets a reference to a customServiceDiscoveryto use.voidsetServiceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilterto use.voidsetServiceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration) Deprecated.Configures the ServiceFilter using the given configuration.voidsetServiceFilterRef(String serviceFilterRef) Deprecated.Sets a reference to a customServiceFilterto use.voidDeprecated.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
getOutputsMethods 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, convertHeaderTo, convertHeaderTo, convertHeaderTo, 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, 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, onException, onException, pausable, pausable, pausable, pausable, 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, script, script, serviceCall, serviceCall, serviceCall, setBody, setBody, setBody, setDisabled, setExchangePattern, setExchangePattern, setHeader, setHeader, setHeader, setHeaders, 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, toD, toD, toD, toD, toD, toD, toD, toF, transacted, transacted, transform, transform, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTapMethods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition
description, getCamelContext, getCustomId, getDescription, getDescriptionText, getId, getLineNumber, getLocation, getNodePrefixId, 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:ProcessorDefinitionReturns a label to describe this node such as the expression if some kind of expression node- Specified by:
getLabelin interfaceorg.apache.camel.NamedNode- Overrides:
getLabelin classProcessorDefinition<ServiceCallDefinition>
-
getName
Deprecated. -
setName
Deprecated.Sets the name of the service to use -
getPattern
Deprecated. -
setPattern
Deprecated.Sets the optionalExchangePatternused 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 theexpression.invalid reference
org.apache.camel.language.simple.SimpleLanguage -
getComponent
Deprecated. -
setComponent
Deprecated.The component to use. -
getServiceDiscoveryRef
Deprecated. -
setServiceDiscoveryRef
Deprecated.Sets a reference to a customServiceDiscoveryto use. -
getServiceDiscovery
public org.apache.camel.cloud.ServiceDiscovery getServiceDiscovery()Deprecated. -
setServiceDiscovery
public void setServiceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscoveryto use. -
getServiceFilterRef
Deprecated. -
setServiceFilterRef
Deprecated.Sets a reference to a customServiceFilterto use. -
getServiceFilter
public org.apache.camel.cloud.ServiceFilter getServiceFilter()Deprecated. -
setServiceFilter
public void setServiceFilter(org.apache.camel.cloud.ServiceFilter serviceFilter) Deprecated.Sets a customServiceFilterto use. -
getServiceChooserRef
Deprecated. -
setServiceChooserRef
Deprecated.Sets a reference to a customServiceChooserto use. -
getServiceChooser
public org.apache.camel.cloud.ServiceChooser getServiceChooser()Deprecated. -
setServiceChooser
public void setServiceChooser(org.apache.camel.cloud.ServiceChooser serviceChooser) Deprecated.Sets a customServiceChooserto use. -
getLoadBalancerRef
Deprecated. -
setLoadBalancerRef
Deprecated.Sets a reference to a customServiceLoadBalancerto use. -
getLoadBalancer
public org.apache.camel.cloud.ServiceLoadBalancer getLoadBalancer()Deprecated. -
setLoadBalancer
public void setLoadBalancer(org.apache.camel.cloud.ServiceLoadBalancer loadBalancer) Deprecated.Sets a customServiceLoadBalancerto use. -
getExpressionRef
Deprecated. -
setExpressionRef
Deprecated.Set a reference to a customExpressionto use. -
getExpression
public org.apache.camel.Expression getExpression()Deprecated. -
setExpression
public void setExpression(org.apache.camel.Expression expression) Deprecated.Set a customExpressionto 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 optionalExchangePatternused to invoke this endpoint -
pattern
Deprecated.Sets the optionalExchangePatternused 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 customServiceDiscoveryto use. -
serviceDiscovery
public ServiceCallDefinition serviceDiscovery(org.apache.camel.cloud.ServiceDiscovery serviceDiscovery) Deprecated.Sets a customServiceDiscoveryto use. -
serviceFilter
Deprecated.Sets a reference to a customServiceFilterto use. -
serviceFilter
Deprecated.Sets a customServiceFilterto use. -
serviceChooser
Deprecated.Sets a reference to a customServiceChooserto use. -
serviceChooser
Deprecated.Sets a customServiceChooserto use. -
loadBalancer
Deprecated.Sets a reference to a customServiceLoadBalancerto use. -
loadBalancer
Deprecated.Sets a customServiceLoadBalancerto use. -
expression
Deprecated.Sets a reference to a customExpressionto use. -
expression
Deprecated.Sets a customExpressionto use. -
expression
Deprecated.Sets a customExpressionto 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.
-