File endpoint.
| Name | Type | Description |
|---|---|---|
| allowNullBody | boolean | |
| antFilter | org.apache.camel.component.file.AntPathMatcherGenericFileFilter |
|
| autoCreate | boolean | |
| bufferSize | int | |
| charset | java.lang.String | |
| copyAndDeleteOnRenameFail | boolean | |
| delete | boolean | |
| directoryMustExist | boolean | |
| doneFileName | java.lang.String | Sets the done file name. Only ${file.name} and ${file.name.noext} is supported as dynamic placeholders. |
| eagerDeleteTargetFile | boolean | |
| eagerMaxMessagesPerPoll | boolean | |
| exchangePattern | org.apache.camel.ExchangePattern | Sets the default exchange pattern to use for {@link #createExchange()}. The default value is {@link ExchangePattern#InOnly} |
| exclude | java.lang.String | |
| exclusiveReadLockStrategy | org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy |
|
| fileExist | org.apache.camel.component.file.GenericFileExist | |
| fileName | org.apache.camel.Expression | Sets the file expression based on {@link org.apache.camel.language.simple.SimpleLanguage} |
| filter | org.apache.camel.component.file.GenericFileFilter |
|
| flatten | boolean | |
| forceWrites | boolean | |
| idempotent | java.lang.Boolean | |
| idempotentKey | org.apache.camel.Expression | |
| idempotentRepository | org.apache.camel.spi.IdempotentRepository |
|
| inProgressRepository | org.apache.camel.spi.IdempotentRepository |
|
| include | java.lang.String | |
| keepLastModified | boolean | |
| localWorkDirectory | java.lang.String | |
| maxDepth | int | |
| maxMessagesPerPoll | int | |
| minDepth | int | |
| move | org.apache.camel.Expression | Sets the move expression based on {@link org.apache.camel.language.simple.SimpleLanguage} |
| moveExisting | org.apache.camel.Expression | Sets the move existing expression based on {@link org.apache.camel.language.simple.SimpleLanguage} |
| moveFailed | org.apache.camel.Expression | Sets the move failure expression based on {@link org.apache.camel.language.simple.SimpleLanguage} |
| noop | boolean | |
| preMove | org.apache.camel.Expression | Sets the pre move expression based on {@link org.apache.camel.language.simple.SimpleLanguage} |
| processStrategy | org.apache.camel.component.file.GenericFileProcessStrategy |
|
| readLock | java.lang.String | |
| readLockCheckInterval | long | |
| readLockLoggingLevel | org.apache.camel.LoggingLevel | |
| readLockMarkerFile | boolean | |
| readLockMinLength | long | |
| readLockTimeout | long | |
| recursive | boolean | |
| renameUsingCopy | boolean | |
| sortBy | java.util.Comparator |
|
| sorter | java.util.Comparator |
|
| startingDirectoryMustExist | boolean | |
| synchronous | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). @param synchronous true to enforce synchronous processing |
| tempFileName | org.apache.camel.Expression | |
| tempPrefix | java.lang.String | Enables and uses temporary prefix when writing files, after write it will be renamed to the correct name. |
File consumer.
| Name | Type | Description |
|---|---|---|
| backoffErrorThreshold | int | |
| backoffIdleThreshold | int | |
| backoffMultiplier | int | |
| delay | long | |
| eagerLimitMaxMessagesPerPoll | boolean | |
| greedy | boolean | If greedy then a poll is executed immediate after a previous poll that polled 1 or more messages. |
| initialDelay | long | |
| maxMessagesPerPoll | int | |
| pollStrategy | org.apache.camel.spi.PollingConsumerPollStrategy | |
| runLoggingLevel | org.apache.camel.LoggingLevel | |
| sendEmptyMessageWhenIdle | boolean | |
| startScheduler | boolean | Sets whether the scheduler should be started when this consumer starts. This option is default true. @param startScheduler whether to start scheduler |
| timeUnit | java.util.concurrent.TimeUnit | Sets the time unit to use. Notice that both {@link #getDelay()} and {@link #getInitialDelay()} are using the same time unit. So if you change this value, then take into account that the default value of {@link #getInitialDelay()} is 1000. So you may to adjust this value accordingly. @param timeUnit the time unit. |
| useFixedDelay | boolean |