public class ControlBusEndpoint extends DefaultEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
ControlBusEndpoint(String endpointUri,
Component component) |
Modifier and Type | Method and Description |
---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint
|
String |
getAction() |
ControlBusComponent |
getComponent()
Returns the component that created this endpoint.
|
Language |
getLanguage() |
LoggingLevel |
getLoggingLevel() |
String |
getRouteId() |
boolean |
isAsync() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
void |
setAction(String action) |
void |
setAsync(boolean async) |
void |
setLanguage(Language language) |
void |
setLoggingLevel(LoggingLevel loggingLevel) |
void |
setRouteId(String routeId) |
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public Producer createProducer() throws Exception
Endpoint
Exception
- can be thrownpublic Consumer createConsumer(Processor processor) throws Exception
Endpoint
processor
- the given processorException
- can be thrownpublic boolean isSingleton()
IsSingleton
public ControlBusComponent getComponent()
DefaultEndpoint
getComponent
in class DefaultEndpoint
public Language getLanguage()
public void setLanguage(Language language)
public String getRouteId()
public void setRouteId(String routeId)
public String getAction()
public void setAction(String action)
public boolean isAsync()
public void setAsync(boolean async)
public LoggingLevel getLoggingLevel()
public void setLoggingLevel(LoggingLevel loggingLevel)
Apache Camel