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
|
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() |
String |
getLabel()
Returns a label to describe this node such as the expression if some kind of expression node
|
String |
getMethod() |
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 |
setMethod(String method) |
void |
setRef(String ref) |
String |
toString() |
getOutputs, isOutputSupported
addInterceptStrategies, addInterceptStrategy, addOutput, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, beanRef, beanRef, choice, clearOutput, configureChild, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, endChoice, endDoTry, endParent, enrich, enrich, 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, loadBalance, loadBalance, 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, pollEnrichRef, preCreateProcessor, process, processRef, recipientList, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperty, resequence, resequence, resolveKnownConstantFields, resolvePropertyPlaceholders, 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, 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, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, setDescription, setId
public BeanDefinition()
public BeanDefinition(String ref)
public String description()
public String getLabel()
ProcessorDefinition
getLabel
in class ProcessorDefinition<BeanDefinition>
public String getShortName()
OptionalIdentifiedDefinition
getShortName
in interface NamedNode
getShortName
in class OptionalIdentifiedDefinition<BeanDefinition>
public String getRef()
public void setRef(String ref)
public String getMethod()
public void setMethod(String method)
public void setBean(Object bean)
public String getBeanType()
public void setBeanType(String beanType)
public void setBeanType(Class<?> beanType)
@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 beanpublic Processor createProcessor(RouteContext routeContext)
ProcessorDefinition
createProcessor
in class ProcessorDefinition<BeanDefinition>
Apache Camel