Element | Description | Class |
---|---|---|
component | FTP Component | org.apache.servicemix.ftp.FtpComponent |
poller | A polling endpoint which looks for a file or files in a directory and sends the files into the JBI bus as messages, deleting the files by default when they are processed. | org.apache.servicemix.ftp.FtpPollerEndpoint |
pool | A pool of FTP clients for the Jakarta Commons Net library | org.apache.servicemix.ftp.FTPClientPool |
sender | An FTP endpoint | org.apache.servicemix.ftp.FtpSenderEndpoint |
Element | Type | Description |
---|---|---|
endpoints | (poller | sender)* | |
executor | <spring:bean/> | |
executorFactory | <spring:bean/> |
Attribute | Type | Description |
---|---|---|
archive | xs:string | Specifies a directory relative to the polling directory to which processed files are archived. |
autoCreateDirectory | xs:boolean | Specifies if the endpoint should create the target directory, if it does
not already exist. If you set this to false and the
directory does not exist, the endpoint will not do anything. Default
value is true . |
changeWorkingDirectory | xs:boolean | |
concurrentPolling | xs:boolean | |
delay | xs:long | |
deleteFile | xs:boolean | Returns whether or not we should delete the file when its processed |
endpoint | xs:string | |
firstTime | xs:date | |
interfaceName | xs:QName | |
period | xs:long | |
recursive | xs:boolean | |
service | xs:QName | |
stateless | xs:boolean | |
targetEndpoint | xs:string | |
targetInterface | xs:QName | |
targetOperation | xs:QName | |
targetService | xs:QName | |
targetUri | xs:string | |
uri | xs:string |
Element | Type | Description |
---|---|---|
clientPool | pool | |
component | component | |
definition | <spring:bean/> | |
description | <spring:bean/> | |
filter | <spring:bean/> | Sets the optional filter to choose which files to process |
lockManager | <spring:bean/> | Bean defining the class implementing the file locking strategy. This bean
must be an implementation of the
org.apache.servicemix.locks.LockManager interface. By
default, this will be set to an instances of
org.apache.servicemix.common.locks.impl.SimpleLockManager . |
marshaler | <spring:bean/> | |
scheduler | <spring:bean/> | |
serviceUnit | <spring:bean/> |
Attribute | Type | Description |
---|---|---|
binaryMode | xs:boolean | |
controlEncoding | xs:string | |
dataTimeout | xs:integer | |
host | xs:string | |
localPort | xs:integer | |
passiveMode | xs:boolean | |
password | xs:string | |
port | xs:integer | |
username | xs:string |
Element | Type | Description |
---|---|---|
address | <spring:bean/> | |
config | <spring:bean/> | |
localAddress | <spring:bean/> | |
pool | <spring:bean/> |
Attribute | Type | Description |
---|---|---|
autoCreateDirectory | xs:boolean | Specifies if the endpoint should create the target directory, if it does
not already exist. If you set this to false and the
directory does not exist, the endpoint will not do anything. Default
value is true . |
checkDuplicates | xs:boolean | |
endpoint | xs:string | |
interfaceName | xs:QName | |
overwrite | xs:boolean | |
service | xs:QName | |
uniqueFileName | xs:string | Sets the name used to make a unique name if no file name is available on the message. |
uploadPrefix | xs:string | Set the file name prefix used during upload. The prefix will be automatically removed as soon as the upload has completed. This allows other processes to discern completed files from files that are being uploaded. |
uploadSuffix | xs:string | Set the file name suffix used during upload. The suffix will be automatically removed as soon as the upload has completed. This allows other processes to discern completed files from files that are being uploaded. |
uri | xs:string | Configures the endpoint from a URI |
Element | Type | Description |
---|---|---|
clientPool | pool | |
component | component | |
definition | <spring:bean/> | |
description | <spring:bean/> | |
marshaler | <spring:bean/> | |
serviceUnit | <spring:bean/> |