Element Summary

ElementDescriptionClass
componentFile Componentorg.apache.servicemix.truezip.TrueZipComponent
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.truezip.TrueZipPollerEndpoint
senderAn endpoint which receives a message and writes the content to a file.org.apache.servicemix.truezip.TrueZipSenderEndpoint

Element Detail

Element: component

ElementTypeDescription
endpoints(poller | sender)*
executorFactory<spring:bean/>The executor factory to use to create the executor. If none is provided, one will be retrieved from the JBI container when the component is deployed into ServiceMix 3.x, or a default implementation will be used.

Element: poller

AttributeTypeDescription
autoCreateDirectoryxs:boolean
concurrentPollingxs:booleanSets whether more than one poll can be active at a time (true means yes). Default value is false.
delayxs:longSets the amount of time in milliseconds that the endpoint should wait before making the first poll.
deleteFilexs:booleanReturns whether or not we should delete the file when its processed
endpointxs:stringThe name of the endpoint.
filexs:stringSets the file to poll, which can be a directory or a file.
firstTimexs:dateSets the date on which the first poll will be executed. If a delay is also set using setDelay, the delay interval will be added after the date specified.
interfaceNamexs:QNameThe qualified name of the interface exposed by the endpoint.
periodxs:longSets the number of milliseconds between polling attempts.
recursivexs:boolean
servicexs:QNameThe qualified name of the service the endpoint exposes.
targetEndpointxs:stringthe name of the endpoint to which requests are sent
targetInterfacexs:QNamethe QName of the interface to which requests are sent
targetOperationxs:QNamethe QName of the operation to which requests are sent
targetServicexs:QNamethe QName of the service to which requests are sent
targetUrixs:stringSet the target service/endpoint/interface using a URI.
ElementTypeDescription
componentcomponent
filter<spring:bean/>Sets the optional filter to choose which files to process
lockManager<spring:bean/>
marshaler<spring:bean/>
scheduler<spring:bean/>Set a custom Scheduler implementation if you need more fine-grained control over the polling schedule.
serviceUnit<spring:bean/>

Element: sender

AttributeTypeDescription
autoCreateDirectoryxs:boolean
directoryxs:string
endpointxs:stringThe name of the endpoint.
interfaceNamexs:QNameThe qualified name of the interface exposed by the endpoint.
servicexs:QNameThe qualified name of the service the endpoint exposes.
tempFilePrefixxs:string
tempFileSuffixxs:string
ElementTypeDescription
componentcomponent
marshaler<spring:bean/>