@UriEndpoint(scheme="bean") public class BeanEndpoint extends ProcessorEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
BeanEndpoint() |
BeanEndpoint(String endpointUri,
Component component) |
BeanEndpoint(String endpointUri,
Component component,
BeanProcessor processor) |
Modifier and Type | Method and Description |
---|---|
protected String |
createEndpointUri()
A factory method to lazily create the endpointUri if none is specified
|
protected Processor |
createProcessor() |
BeanHolder |
getBeanHolder() |
String |
getBeanName() |
String |
getMethod() |
boolean |
isCache() |
boolean |
isMultiParameterArray() |
void |
setBeanHolder(BeanHolder beanHolder) |
void |
setBeanName(String beanName)
Sets the name of the bean to invoke
|
void |
setCache(boolean cache) |
void |
setMethod(String method)
Sets the name of the method to invoke on the bean
|
void |
setMultiParameterArray(boolean mpArray) |
createPollingConsumer, createProducer, getProcessor, isSingleton, onExchange, setProcessor
createConsumer
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties
configureConsumer, createEndpointConfiguration, createExchange, createExchange, createExchange, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public BeanEndpoint()
public BeanEndpoint(String endpointUri, Component component, BeanProcessor processor)
public BeanEndpoint(String endpointUri, Component component)
public String getBeanName()
public void setBeanName(String beanName)
public boolean isMultiParameterArray()
public void setMultiParameterArray(boolean mpArray)
public boolean isCache()
public void setCache(boolean cache)
public BeanHolder getBeanHolder()
public void setBeanHolder(BeanHolder beanHolder)
protected String createEndpointUri()
DefaultEndpoint
createEndpointUri
in class DefaultEndpoint
protected Processor createProcessor() throws Exception
createProcessor
in class ProcessorEndpoint
Exception
Apache Camel