@UriEndpoint(scheme="ganglia",
title="Ganglia",
syntax="ganglia:host:port",
producerOnly=true,
label="monitoring")
public class GangliaEndpoint
extends DefaultEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
GangliaEndpoint() |
GangliaEndpoint(String endpointUri,
Component component) |
| 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
|
GangliaConfiguration |
getConfiguration() |
info.ganglia.gmetric4j.Publisher |
getPublisher() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
void |
setConfiguration(GangliaConfiguration configuration) |
void |
setPublisher(info.ganglia.gmetric4j.Publisher publisher) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, 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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic Producer createProducer() throws Exception
EndpointException - can be thrownpublic Consumer createConsumer(Processor processor) throws Exception
Endpointprocessor - the given processorException - can be thrownpublic boolean isSingleton()
IsSingletonpublic GangliaConfiguration getConfiguration()
public void setConfiguration(GangliaConfiguration configuration)
public info.ganglia.gmetric4j.Publisher getPublisher()
public void setPublisher(info.ganglia.gmetric4j.Publisher publisher)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.