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, removeExcessiveInProgressFiles, setCustomProcessor, setEagerLimitMaxMessagesPerPoll, setOperations
deferShutdown, getMaxMessagesPerPoll, getPendingExchangesSize, isBatchAllowed, prepareShutdown, processEmptyMessage, setMaxMessagesPerPoll
afterPoll, 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, startScheduler
createUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
doResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public RemoteFileConsumer(RemoteFileEndpoint<T> endpoint, org.apache.camel.Processor processor, RemoteFileOperations<T> operations)
public RemoteFileEndpoint<T> getEndpoint()
getEndpoint
in interface org.apache.camel.Consumer
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
protected 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
Exception
protected void connectIfNecessary() throws IOException
IOException
protected String remoteServer()
Apache Camel