public abstract class RemoteFileConsumer<T>
extends org.apache.camel.component.file.GenericFileConsumer<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
loggedIn |
protected boolean |
loggedInWarning |
| Constructor and Description |
|---|
RemoteFileConsumer(RemoteFileEndpoint<T> endpoint,
org.apache.camel.Processor processor,
RemoteFileOperations<T> operations) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectIfNecessary() |
protected void |
disconnect() |
protected void |
doStop() |
RemoteFileEndpoint<T> |
getEndpoint() |
protected RemoteFileOperations<T> |
getOperations() |
protected boolean |
isRetrieveFile() |
protected void |
postPollCheck() |
protected boolean |
prePollCheck() |
protected boolean |
processExchange(org.apache.camel.Exchange exchange) |
protected void |
recoverableConnectIfNecessary() |
protected String |
remoteServer()
Returns human readable server information for logging purpose
|
canPollMoreFiles, customProcessExchange, doStart, evaluateFileExpression, getCustomProcessor, ignoreCannotRetrieveFile, isEagerLimitMaxMessagesPerPoll, isInProgress, isMatched, isMatched, isValidFile, poll, pollDirectory, processBatch, removeExcessiveInProgressFiles, setCustomProcessor, setEagerLimitMaxMessagesPerPoll, setOperationsdeferShutdown, getMaxMessagesPerPoll, getPendingExchangesSize, isBatchAllowed, prepareShutdown, processEmptyMessage, setMaxMessagesPerPollafterPoll, beforePoll, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startSchedulercreateUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic RemoteFileConsumer(RemoteFileEndpoint<T> endpoint, org.apache.camel.Processor processor, RemoteFileOperations<T> operations)
public RemoteFileEndpoint<T> getEndpoint()
getEndpoint in interface org.apache.camel.ConsumergetEndpoint in class org.apache.camel.impl.DefaultConsumerprotected RemoteFileOperations<T> getOperations()
protected boolean prePollCheck()
throws Exception
protected void postPollCheck()
postPollCheck in class org.apache.camel.component.file.GenericFileConsumer<T>protected boolean processExchange(org.apache.camel.Exchange exchange)
processExchange in class org.apache.camel.component.file.GenericFileConsumer<T>protected boolean isRetrieveFile()
isRetrieveFile in class org.apache.camel.component.file.GenericFileConsumer<T>protected void doStop()
throws Exception
protected void disconnect()
protected void recoverableConnectIfNecessary()
throws Exception
Exceptionprotected void connectIfNecessary()
throws IOException
IOExceptionprotected String remoteServer()
Apache Camel