|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.impl.ScheduledPollConsumer
org.apache.camel.component.jclouds.JcloudsConsumer
org.apache.camel.component.jclouds.JcloudsBlobStoreConsumer
public class JcloudsBlobStoreConsumer
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultConsumer |
|---|
log |
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
JcloudsBlobStoreConsumer(JcloudsBlobStoreEndpoint endpoint,
org.apache.camel.Processor processor,
org.jclouds.blobstore.BlobStore blobStore)
|
|
| Method Summary | |
|---|---|
boolean |
deferShutdown(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
|
int |
getPendingExchangesSize()
|
boolean |
isBatchAllowed()
|
protected int |
poll()
|
void |
prepareShutdown()
|
int |
processBatch(Queue<Object> exchanges)
|
void |
setMaxMessagesPerPoll(int maxMessagesPerPoll)
|
| Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
|---|
afterPoll, beforePoll, doStart, doStop, doSuspend, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getTimeUnit, isPollAllowed, isPolling, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setDelay, setInitialDelay, setPollStrategy, setRunLoggingLevel, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler |
| Methods inherited from class org.apache.camel.impl.DefaultConsumer |
|---|
getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, 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.Consumer |
|---|
getEndpoint |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Methods inherited from interface org.apache.camel.SuspendableService |
|---|
isSuspended, resume, suspend |
| Constructor Detail |
|---|
public JcloudsBlobStoreConsumer(JcloudsBlobStoreEndpoint endpoint,
org.apache.camel.Processor processor,
org.jclouds.blobstore.BlobStore blobStore)
| Method Detail |
|---|
protected int poll()
throws Exception
poll in class JcloudsConsumerExceptionpublic void setMaxMessagesPerPoll(int maxMessagesPerPoll)
setMaxMessagesPerPoll in interface org.apache.camel.BatchConsumer
public int processBatch(Queue<Object> exchanges)
throws Exception
processBatch in interface org.apache.camel.BatchConsumerExceptionpublic boolean isBatchAllowed()
isBatchAllowed in interface org.apache.camel.BatchConsumerpublic 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 | ||||||||