public abstract class AbstractMicrometerEventNotifier<T extends EventObject>
extends org.apache.camel.support.EventNotifierSupport
implements org.apache.camel.CamelContextAware
Constructor and Description |
---|
AbstractMicrometerEventNotifier(Class<T> eventType) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
org.apache.camel.CamelContext |
getCamelContext() |
TimeUnit |
getDurationUnit() |
io.micrometer.core.instrument.MeterRegistry |
getMeterRegistry() |
boolean |
isEnabled(EventObject eventObject) |
boolean |
isPrettyPrint() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setDurationUnit(TimeUnit durationUnit) |
void |
setMeterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry) |
void |
setPrettyPrint(boolean prettyPrint) |
doStop, isDisabled, isIgnoreCamelContextEvents, isIgnoreExchangeCompletedEvent, isIgnoreExchangeCreatedEvent, isIgnoreExchangeEvents, isIgnoreExchangeFailedEvents, isIgnoreExchangeRedeliveryEvents, isIgnoreExchangeSendingEvents, isIgnoreExchangeSentEvents, isIgnoreRouteEvents, isIgnoreServiceEvents, setIgnoreCamelContextEvents, setIgnoreExchangeCompletedEvent, setIgnoreExchangeCreatedEvent, setIgnoreExchangeEvents, setIgnoreExchangeFailedEvents, setIgnoreExchangeRedeliveryEvents, setIgnoreExchangeSendingEvents, setIgnoreExchangeSentEvents, setIgnoreRouteEvents, setIgnoreServiceEvents
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public io.micrometer.core.instrument.MeterRegistry getMeterRegistry()
public void setMeterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry)
public boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
public TimeUnit getDurationUnit()
public void setDurationUnit(TimeUnit durationUnit)
public boolean isEnabled(EventObject eventObject)
isEnabled
in interface org.apache.camel.spi.EventNotifier
Apache Camel