@Component(value="metrics")
public class MetricsComponent
extends org.apache.camel.support.DefaultComponent
| Modifier and Type | Field and Description |
|---|---|
static MetricsType |
DEFAULT_METRICS_TYPE |
static long |
DEFAULT_REPORTING_INTERVAL_SECONDS |
static String |
METRIC_REGISTRY_NAME |
| Constructor and Description |
|---|
MetricsComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doInit() |
com.codahale.metrics.MetricRegistry |
getMetricRegistry() |
void |
setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
To use a custom configured MetricRegistry.
|
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String METRIC_REGISTRY_NAME
public static final MetricsType DEFAULT_METRICS_TYPE
public static final long DEFAULT_REPORTING_INTERVAL_SECONDS
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionpublic com.codahale.metrics.MetricRegistry getMetricRegistry()
public void setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
Apache Camel