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:boolean

Sets whether more than one poll can be active at a time (true means yes). Default value is false.

delayxs:long

Sets 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:string

Get the endpoint implementation.

filexs:stringSets the file to poll, which can be a directory or a file.
firstTimexs:date

Sets 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:QName

Get the qualified name of the endpoint interface.

periodxs:long

Sets the number of milliseconds between polling attempts.

recursivexs:boolean
servicexs:QName

Get the service qualified name of the endpoint.

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:string

Gets the target URI of the consumer endpoint.

ElementTypeDescription
componentcomponent
filter<spring:bean/>Sets the optional filter to choose which files to process
lockManager<spring:bean/>
marshaler<spring:bean/>
scheduler<spring:bean/>

Sets 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:string

Get the endpoint implementation.

interfaceNamexs:QName

Get the qualified name of the endpoint interface.

servicexs:QName

Get the service qualified name of the endpoint.

tempFilePrefixxs:string
tempFileSuffixxs:string
ElementTypeDescription
componentcomponent
marshaler<spring:bean/>