Element Summary

ElementDescriptionClass
componentFile Componentorg.apache.servicemix.file.FileComponent
endpointAn endpoint which receives a message and writes the content to a file.org.apache.servicemix.file.FileEndpoint
pollingEndpointA 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 Detail

Element: component

ElementTypeDescription
endpoints(endpoint)*
pollingEndpoints(pollingEndpoint)*

Element: endpoint

AttributeTypeDescription
autoCreateDirectoryxs:boolean
directoryxs:string
tempFilePrefixxs:string
tempFileSuffixxs:string
ElementTypeDescription
componentcomponent
endpoint<spring:bean/>
marshaler<spring:bean/>

Element: pollingEndpoint

AttributeTypeDescription
autoCreateDirectoryxs:boolean
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.
recursivexs:boolean
servicexs:QName
ElementTypeDescription
componentcomponent
filter<spring:bean/>Sets the optional filter to choose which files to process
lockManager<spring:bean/>
marshaler<spring:bean/>
serviceUnit<spring:bean/>