public class BeanDefinition extends NoOutputDefinition<BeanDefinition>
inheritErrorHandler, log
Constructor and Description |
---|
BeanDefinition() |
BeanDefinition(String ref) |
BeanDefinition(String ref,
String method) |
Modifier and Type | Method and Description |
---|---|
BeanDefinition |
bean(Object bean)
Deprecated.
not in use, will be removed in next Camel release
|
BeanDefinition |
beanType(Class<?> beanType)
Deprecated.
not in use, will be removed in next Camel release
|
BeanDefinition |
cache()
Deprecated.
|
Processor |
createProcessor(RouteContext routeContext)
Override this in definition class and implement logic to create the processor
based on the definition model.
|
String |
description() |
String |
getBeanType() |
Boolean |
getCache() |
String |
getLabel()
Returns a label to describe this node such as the expression if some kind of expression node
|
String |
getMethod() |
Boolean |
getMultiParameterArray() |
String |
getRef() |
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images
|
BeanDefinition |
method(String method)
Deprecated.
not in use, will be removed in next Camel release
|
BeanDefinition |
ref(String ref)
Deprecated.
not in use, will be removed in next Camel release
|
void |
setBean(Object bean) |
void |
setBeanType(Class<?> beanType) |
void |
setBeanType(String beanType) |
void |
setCache(Boolean cache) |
void |
setMethod(String method) |
void |
setMultiParameterArray(Boolean multiParameterArray) |
void |
setRef(String ref) |
String |
toString() |
getOutputs, isOutputSupported
addInterceptStrategies, addInterceptStrategy, addOutput, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, bean, bean, bean, beanRef, beanRef, beanRef, beanRef, beanRef, choice, clearOutput, configureChild, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, endChoice, endDoTry, endParent, endRest, enrich, enrich, enrich, enrichRef, enrichRef, filter, filter, filter, filter, getIndex, getInterceptStrategies, getOtherAttributes, getParent, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, isTopLevelOnly, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, 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, pollEnrichRef, pollEnrichRef, preCreateProcessor, process, processRef, recipientList, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperty, resequence, resequence, rollback, rollback, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, sample, sample, sample, setBody, setBody, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setInheritErrorHandler, setOtherAttributes, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sort, split, split, split, startupOrder, stop, threads, threads, threads, threads, throttle, throttle, throwException, to, to, to, to, to, to, to, to, to, to, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapInErrorHandler, wrapProcessor
description, description, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, isCustomId, setCustomId, setDescription, setId
public BeanDefinition()
public BeanDefinition(String ref)
public BeanDefinition(String ref, String method)
public String description()
public String getLabel()
ProcessorDefinition
getLabel
in interface NamedNode
getLabel
in class ProcessorDefinition<BeanDefinition>
public String getShortName()
OptionalIdentifiedDefinition
getShortName
in interface NamedNode
getShortName
in class OptionalIdentifiedDefinition<BeanDefinition>
public String getBeanType()
public void setBeanType(String beanType)
public void setBeanType(Class<?> beanType)
public Boolean getMultiParameterArray()
public void setMultiParameterArray(Boolean multiParameterArray)
@Deprecated public BeanDefinition ref(String ref)
ref
- the bean's id in the registry@Deprecated public BeanDefinition method(String method)
method
- the bean's method name which wants camel to call@Deprecated public BeanDefinition bean(Object bean)
bean
in class ProcessorDefinition<BeanDefinition>
bean
- the instance of the bean@Deprecated public BeanDefinition beanType(Class<?> beanType)
beanType
- the Class of the bean@Deprecated public BeanDefinition cache()
public Processor createProcessor(RouteContext routeContext) throws Exception
ProcessorDefinition
createProcessor
in class ProcessorDefinition<BeanDefinition>
Exception
Apache Camel