Element | Description | Class |
---|---|---|
component | VFS Component | org.apache.servicemix.vfs.VFSComponent |
poller | A polling endpoint that looks for a file or files in a virtual file system
and sends the files to a target service (via the JBI bus), deleting the files
by default when they are processed. The polling endpoint uses a file marshaler
to send the data as a JBI message; by default this marshaler expects XML
payload. For non-XML payload, e.g. plain-text or binary files, use an
alternative marshaler such as the
org.apache.servicemix.components.util.BinaryFileMarshaler | org.apache.servicemix.vfs.VFSPollingEndpoint |
sender | An endpoint which receives messages from the NMR and writes the message to the virtual file system. | org.apache.servicemix.vfs.VFSSendingEndpoint |
Element | Type | Description |
---|---|---|
endpoints | (poller | sender)* | |
executor | <spring:bean/> | |
executorFactory | <spring:bean/> |
Attribute | Type | Description |
---|---|---|
concurrentExchange | xs:boolean | |
concurrentPolling | xs:boolean | |
delay | xs:long | |
deleteFile | xs:boolean | Specifies if files should be deleted after they are processed. Default
value is true . |
endpoint | xs:string | |
firstTime | xs:date | |
interfaceName | xs:QName | |
path | xs:string | Specifies a String object representing the path of the
file/folder to be polled.Examples:
|
period | xs:long | |
recursive | xs:boolean | |
service | xs:QName | |
targetEndpoint | xs:string | |
targetInterface | xs:QName | |
targetOperation | xs:QName | |
targetService | xs:QName | |
targetUri | xs:string |
Element | Type | Description |
---|---|---|
component | component | the default component |
definition | <spring:bean/> | |
description | <spring:bean/> | |
fileSystemManager | <spring:bean/> | sets the file system manager |
lockManager | <spring:bean/> | Bean defining the class implementing the file locking strategy. This bean
must be an implementation of the
org.apache.servicemix.locks.LockManager interface. By
default, this will be set to an instances of
org.apache.servicemix.common.locks.impl.SimpleLockManager . |
marshaler | <spring:bean/> | Specifies a FileMarshaler object that will marshal file data
into the NMR. The default file marshaller can read valid XML data.
FileMarshaler objects are implementations of
org.apache.servicemix.components.util.FileMarshaler . |
scheduler | <spring:bean/> | |
selector | <spring:bean/> | Specifies a FileSelector object. |
serviceUnit | <spring:bean/> |
Attribute | Type | Description |
---|---|---|
endpoint | xs:string | |
interfaceName | xs:QName | |
path | xs:string | Specifies a String object representing the path of the
file/folder to be polled.Examples:
|
service | xs:QName |
Element | Type | Description |
---|---|---|
definition | <spring:bean/> | |
description | <spring:bean/> | |
fileSystemManager | <spring:bean/> | sets the file system manager |
marshaler | <spring:bean/> | Specifies a FileMarshaler object that will marshal file data
into the NMR. The default file marshaller can read valid XML data.
FileMarshaler objects are implementations of
org.apache.servicemix.components.util.FileMarshaler . |
serviceUnit | <spring:bean/> |