public class MetricsComponent
extends org.apache.camel.impl.UriEndpointComponent
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) |
com.codahale.metrics.MetricRegistry |
getMetricRegistry() |
void |
setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
To use a custom configured MetricRegistry.
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public 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.impl.DefaultComponent
Exception
public com.codahale.metrics.MetricRegistry getMetricRegistry()
public void setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
Apache Camel