@UriEndpoint(scheme="paxlogging", title="OSGi PAX Logging", syntax="paxlogging:appender", consumerOnly=true, consumerClass=PaxLoggingConsumer.class, label="monitoring") public class PaxLoggingEndpoint extends DefaultEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
PaxLoggingEndpoint(String uri,
PaxLoggingComponent component,
String appender) |
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 |
getAppender()
Appender is the name of the pax appender that need to be configured in the PaxLogging service configuration.
|
PaxLoggingComponent |
getComponent()
Returns the component that created this endpoint.
|
String |
getName()
Deprecated.
use
getAppender() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public PaxLoggingEndpoint(String uri, PaxLoggingComponent component, String appender)
public String getAppender()
@Deprecated public String getName()
getAppender()
public PaxLoggingComponent getComponent()
DefaultEndpoint
getComponent
in class DefaultEndpoint
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
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.