public class LogEndpoint extends ProcessorEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
LogEndpoint() |
LogEndpoint(String endpointUri,
Component component) |
LogEndpoint(String endpointUri,
Component component,
Processor logger) |
Modifier and Type | Method and Description |
---|---|
protected String |
createEndpointUri()
A factory method to lazily create the endpointUri if none is specified
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint
|
protected void |
doStart()
Implementations override this method to support customized start/stop.
|
protected void |
doStop()
Implementations override this method to support customized start/stop.
|
Boolean |
getGroupActiveOnly() |
Long |
getGroupDelay() |
Long |
getGroupInterval() |
Integer |
getGroupSize() |
String |
getLevel() |
Processor |
getLogger() |
String |
getMarker() |
void |
setGroupActiveOnly(Boolean groupActiveOnly) |
void |
setGroupDelay(Long groupDelay) |
void |
setGroupInterval(Long groupInterval) |
void |
setGroupSize(Integer groupSize) |
void |
setLevel(String level) |
void |
setLogger(Processor logger) |
void |
setMarker(String marker) |
createPollingConsumer, createProcessor, getProcessor, isSingleton, onExchange, setProcessor
createConsumer
configureProperties
configureConsumer, createEndpointConfiguration, createExchange, createExchange, createExchange, equals, getCamelContext, getComponent, 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
protected void doStart() throws Exception
ServiceSupport
ServiceSupport.doStop()
for more details.doStart
in class DefaultEndpoint
Exception
ServiceSupport.doStop()
protected void doStop() throws Exception
ServiceSupport
ServiceSupport.doStop()
method when
the service is being stopped. This method will also be invoked
if the service is still in uninitialized state (eg has not
been started). The method is always called to allow the service
to do custom logic when the service is being stopped, such as when
CamelContext
is shutting down.doStop
in class DefaultEndpoint
Exception
ServiceSupport.doStart()
public void setLogger(Processor logger)
public Processor getLogger()
public Producer createProducer() throws Exception
Endpoint
createProducer
in interface Endpoint
createProducer
in class ProcessorEndpoint
Exception
- can be thrownprotected String createEndpointUri()
DefaultEndpoint
createEndpointUri
in class DefaultEndpoint
public String getLevel()
public void setLevel(String level)
public String getMarker()
public void setMarker(String marker)
public Integer getGroupSize()
public void setGroupSize(Integer groupSize)
public Long getGroupInterval()
public void setGroupInterval(Long groupInterval)
public Boolean getGroupActiveOnly()
public void setGroupActiveOnly(Boolean groupActiveOnly)
public Long getGroupDelay()
public void setGroupDelay(Long groupDelay)
Apache Camel