Element | Description | Class |
---|---|---|
component | File Component | org.apache.servicemix.file.FileComponent |
endpoint | An endpoint which receives a message and writes the content to a file. | org.apache.servicemix.file.FileEndpoint |
pollingEndpoint | 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.file.FilePollingEndpoint |
Element | Type | Description |
---|---|---|
endpoints | (endpoint)* | |
pollingEndpoints | (pollingEndpoint)* |
Attribute | Type | Description |
---|---|---|
autoCreateDirectory | xs:boolean | |
directory | xs:string | |
tempFilePrefix | xs:string | |
tempFileSuffix | xs:string |
Element | Type | Description |
---|---|---|
component | component | |
endpoint | <spring:bean/> | |
marshaler | <spring:bean/> |
Attribute | Type | Description |
---|---|---|
autoCreateDirectory | xs:boolean | |
deleteFile | xs:boolean | Returns whether or not we should delete the file when its processed |
endpoint | xs:string | |
file | xs:string | Sets the file to poll, which can be a directory or a file. |
recursive | xs:boolean | |
service | xs:QName |
Element | Type | Description |
---|---|---|
component | component | |
filter | <spring:bean/> | Sets the optional filter to choose which files to process |
lockManager | <spring:bean/> | |
marshaler | <spring:bean/> | |
serviceUnit | <spring:bean/> |