Element Summary

ElementDescriptionClass
componentFile Componentorg.apache.servicemix.file.FileComponent
pollerA 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.FilePollerEndpoint
senderAn endpoint which receives a message and writes the content to a file.org.apache.servicemix.file.FileSenderEndpoint

Element Detail

Element: component

ElementTypeDescription
endpoints(poller | sender)*

Element: poller

AttributeTypeDescription
archivexs:stringConfigure a directory to archive files before deleting them.
autoCreateDirectoryxs:boolean
delayxs:long
deleteFilexs:booleanReturns whether or not we should delete the file when its processed
endpointxs:string
filexs:stringSets the file to poll, which can be a directory or a file.
firstTimexs:date
interfaceNamexs:QName
periodxs:long
recursivexs:boolean
servicexs:QName
targetEndpointxs:string
targetInterfacexs:QName
targetOperationxs:QName
targetServicexs:QName
targetUrixs:string
ElementTypeDescription
componentcomponent
definition<spring:bean/>
description<spring:bean/>
filter<spring:bean/>Sets the optional filter to choose which files to process
lockManager<spring:bean/>
marshaler<spring:bean/>
scheduler<spring:bean/>
serviceUnit<spring:bean/>

Element: sender

AttributeTypeDescription
autoCreateDirectoryxs:boolean
directoryxs:string
endpointxs:string
interfaceNamexs:QName
servicexs:QName
tempFilePrefixxs:string
tempFileSuffixxs:string
ElementTypeDescription
componentcomponent
definition<spring:bean/>
description<spring:bean/>
marshaler<spring:bean/>
serviceUnit<spring:bean/>