|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.component.kestrel.KestrelConsumer
public class KestrelConsumer
A Camel consumer that polls a kestrel queue.
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultConsumer |
|---|
log |
| Constructor Summary | |
|---|---|
KestrelConsumer(KestrelEndpoint endpoint,
org.apache.camel.Processor processor,
net.spy.memcached.MemcachedClient memcachedClient)
|
|
| Method Summary | |
|---|---|
boolean |
deferShutdown(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
|
protected void |
doStart()
|
protected void |
doStop()
|
int |
getPendingExchangesSize()
|
void |
prepareShutdown()
|
| Methods inherited from class org.apache.camel.impl.DefaultConsumer |
|---|
getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public KestrelConsumer(KestrelEndpoint endpoint,
org.apache.camel.Processor processor,
net.spy.memcached.MemcachedClient memcachedClient)
| Method Detail |
|---|
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultConsumerException
protected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultConsumerExceptionpublic boolean deferShutdown(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
deferShutdown in interface org.apache.camel.spi.ShutdownAwarepublic int getPendingExchangesSize()
getPendingExchangesSize in interface org.apache.camel.spi.ShutdownAwarepublic void prepareShutdown()
prepareShutdown in interface org.apache.camel.spi.ShutdownAware
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||