public class HipchatConsumer
extends org.apache.camel.impl.ScheduledPollConsumer
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_CONSUMER_DELAY |
Constructor and Description |
---|
HipchatConsumer(HipchatEndpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.CloseableHttpResponse |
executeGet(org.apache.http.client.methods.HttpGet httpGet) |
HipchatEndpoint |
getEndpoint() |
protected int |
poll() |
String |
toString() |
afterPoll, beforePoll, doShutdown, doStart, doStop, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler
createUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute
doResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public static final long DEFAULT_CONSUMER_DELAY
public HipchatConsumer(HipchatEndpoint endpoint, org.apache.camel.Processor processor)
protected int poll() throws Exception
poll
in class org.apache.camel.impl.ScheduledPollConsumer
Exception
protected org.apache.http.client.methods.CloseableHttpResponse executeGet(org.apache.http.client.methods.HttpGet httpGet) throws IOException
IOException
public HipchatEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
public String toString()
toString
in class org.apache.camel.impl.DefaultConsumer
Apache Camel