@Metadata(label="eip,routing") public class ServiceCallDefinition extends NoOutputDefinition<ServiceCallDefinition>
inheritErrorHandler, log
Constructor and Description |
---|
ServiceCallDefinition() |
getOutputs, isOutputSupported
addInterceptStrategies, addInterceptStrategy, addOutput, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, bean, bean, bean, bean, bean, beanRef, beanRef, beanRef, beanRef, beanRef, choice, claimCheck, claimCheck, claimCheck, claimCheck, clearOutput, configureChild, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createOutputsProcessorImpl, createProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, endChoice, endDoTry, endHystrix, endParent, endRest, enrich, enrich, enrich, enrich, enrich, enrichRef, enrichRef, enrichRef, enrichWith, enrichWith, enrichWith, filter, filter, filter, filter, getIndex, getInterceptStrategies, getOtherAttributes, getParent, hystrix, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, isTopLevelOnly, isWrappingEntireOutput, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, loopDoWhile, loopDoWhile, makeProcessor, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, onCompletion, onException, onException, pipeline, pipeline, pipeline, pipeline, placeholder, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichRef, pollEnrichRef, pollEnrichWith, pollEnrichWith, pollEnrichWith, preCreateProcessor, process, process, process, processRef, recipientList, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperties, removeProperties, removeProperty, resequence, resequence, rollback, rollback, routeDescription, routeGroup, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, saga, sample, sample, sample, script, script, serviceCall, serviceCall, serviceCall, setBody, setBody, setBody, setBody, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setHeader, setInheritErrorHandler, setOtherAttributes, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sort, split, split, split, startupOrder, stop, threads, threads, threads, threads, throttle, throttle, throttle, throttle, throttle, throwException, throwException, to, to, to, to, to, to, to, to, to, to, toD, toD, toD, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessor
description, description, getCustomId, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, setCustomId, setDescription, setId
public ServiceCallDefinition()
public String getShortName()
NamedNode
public String getLabel()
ProcessorDefinition
getLabel
in interface NamedNode
getLabel
in class ProcessorDefinition<ServiceCallDefinition>
public ExchangePattern getPattern()
public void setPattern(ExchangePattern pattern)
ExchangePattern
used to invoke this endpointpublic String getConfigurationRef()
public void setConfigurationRef(String configurationRef)
public void setUri(String uri)
SimpleLanguage
expression.public String getComponent()
public void setComponent(String component)
public String getServiceDiscoveryRef()
public void setServiceDiscoveryRef(String serviceDiscoveryRef)
ServiceDiscovery
to use.public ServiceDiscovery getServiceDiscovery()
public void setServiceDiscovery(ServiceDiscovery serviceDiscovery)
ServiceDiscovery
to use.public String getServiceFilterRef()
public void setServiceFilterRef(String serviceFilterRef)
ServiceFilter
to use.public ServiceFilter getServiceFilter()
public void setServiceFilter(ServiceFilter serviceFilter)
ServiceFilter
to use.public String getServiceChooserRef()
public void setServiceChooserRef(String serviceChooserRef)
ServiceChooser
to use.public ServiceChooser getServiceChooser()
public void setServiceChooser(ServiceChooser serviceChooser)
ServiceChooser
to use.public String getLoadBalancerRef()
public void setLoadBalancerRef(String loadBalancerRef)
ServiceLoadBalancer
to use.public ServiceLoadBalancer getLoadBalancer()
public void setLoadBalancer(ServiceLoadBalancer loadBalancer)
ServiceLoadBalancer
to use.public String getExpressionRef()
public void setExpressionRef(String expressionRef)
Expression
to use.public Expression getExpression()
public void setExpression(Expression expression)
Expression
to use.public ServiceCallServiceDiscoveryConfiguration getServiceDiscoveryConfiguration()
public void setServiceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration)
public ServiceCallServiceFilterConfiguration getServiceFilterConfiguration()
public void setServiceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration)
public ServiceCallServiceLoadBalancerConfiguration getLoadBalancerConfiguration()
public void setLoadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration)
public ServiceCallExpressionConfiguration getExpressionConfiguration()
public void setExpressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration)
public ServiceCallDefinition pattern(ExchangePattern pattern)
ExchangePattern
used to invoke this endpointpublic ServiceCallDefinition name(String name)
public ServiceCallDefinition uri(String uri)
public ServiceCallDefinition component(String component)
public ServiceCallDefinition serviceCallConfiguration(String ref)
public ServiceCallDefinition serviceDiscovery(String serviceDiscoveryRef)
ServiceDiscovery
to use.public ServiceCallDefinition serviceDiscovery(ServiceDiscovery serviceDiscovery)
ServiceDiscovery
to use.public ServiceCallDefinition serviceFilter(String serviceFilterRef)
ServiceFilter
to use.public ServiceCallDefinition serviceFilter(ServiceFilter serviceFilter)
ServiceFilter
to use.public ServiceCallDefinition serviceChooser(String serviceChooserRef)
ServiceChooser
to use.public ServiceCallDefinition serviceChooser(ServiceChooser serviceChooser)
ServiceChooser
to use.public ServiceCallDefinition loadBalancer(String loadBalancerRef)
ServiceLoadBalancer
to use.public ServiceCallDefinition loadBalancer(ServiceLoadBalancer loadBalancer)
ServiceLoadBalancer
to use.public ServiceCallDefinition expression(String expressionRef)
Expression
to use.public ServiceCallDefinition expression(Expression expression)
Expression
to use.public ExpressionClause<ServiceCallDefinition> expression()
Expression
to use through an expression builder clause.public ServiceCallDefinition serviceDiscoveryConfiguration(ServiceCallServiceDiscoveryConfiguration serviceDiscoveryConfiguration)
public ServiceCallDefinition serviceFilterConfiguration(ServiceCallServiceFilterConfiguration serviceFilterConfiguration)
public ServiceCallDefinition loadBalancerConfiguration(ServiceCallServiceLoadBalancerConfiguration loadBalancerConfiguration)
public ServiceCallDefinition expressionConfiguration(ServiceCallExpressionConfiguration expressionConfiguration)
public CachingServiceCallServiceDiscoveryConfiguration cachingServiceDiscovery()
public ConsulServiceCallServiceDiscoveryConfiguration consulServiceDiscovery()
public ServiceCallDefinition consulServiceDiscovery(String url)
public DnsServiceCallServiceDiscoveryConfiguration dnsServiceDiscovery()
public ServiceCallDefinition dnsServiceDiscovery(String domain)
public ServiceCallDefinition dnsServiceDiscovery(String domain, String protocol)
public EtcdServiceCallServiceDiscoveryConfiguration etcdServiceDiscovery()
public ServiceCallDefinition etcdServiceDiscovery(String uris)
public ServiceCallDefinition etcdServiceDiscovery(String uris, String servicePath)
public KubernetesServiceCallServiceDiscoveryConfiguration kubernetesServiceDiscovery()
public KubernetesServiceCallServiceDiscoveryConfiguration kubernetesClientServiceDiscovery()
public ServiceCallDefinition kubernetesEnvServiceDiscovery()
public ServiceCallDefinition kubernetesDnsServiceDiscovery(String namespace, String domain)
@Deprecated public AggregatingServiceCallServiceDiscoveryConfiguration multiServiceDiscovery()
combinedServiceDiscovery()
public CombinedServiceCallServiceDiscoveryConfiguration combinedServiceDiscovery()
public StaticServiceCallServiceDiscoveryConfiguration staticServiceDiscovery()
public ZooKeeperServiceCallServiceDiscoveryConfiguration zookeeperServiceDiscovery()
public ServiceCallDefinition zookeeperServiceDiscovery(String nodes, String basePath)
public ServiceCallDefinition healthyFilter()
public ServiceCallDefinition passThroughFilter()
@Deprecated public ChainedServiceCallServiceFilterConfiguration multiFilter()
combinedFilter()
public CombinedServiceCallServiceFilterConfiguration combinedFilter()
public BlacklistServiceCallServiceFilterConfiguration blacklistFilter()
public ServiceCallDefinition customFilter(String serviceFilter)
public ServiceCallDefinition customFilter(ServiceFilter serviceFilter)
public ServiceCallDefinition defaultLoadBalancer()
public ServiceCallDefinition ribbonLoadBalancer()
public ServiceCallDefinition ribbonLoadBalancer(String clientName)
public Processor createProcessor(RouteContext routeContext) throws Exception
ProcessorDefinition
createProcessor
in class ProcessorDefinition<ServiceCallDefinition>
Exception
Apache Camel