| Fuse ESB Enterprise 7.0 XML Schemas | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||
http://servicemix.apache.org/vfs/1.0)>http://servicemix.apache.org/vfs/1.0)
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
<code>org.apache.servicemix.components.util.BinaryFileMarshaler</code>
| Nested Element Summary | |||||||||||||||||
| sequence |
|
||||||||||||||||
| Attribute Summary | |
string | comparator
Specifies a <code>Comparator</code> object. |
string | component
the default component |
boolean | concurrentExchange
|
boolean | concurrentPolling
<p> Sets whether more than one poll can be active at a time (true means yes). |
long | delay
<p> Sets the amount of time in milliseconds that the endpoint should wait before making the first poll. |
boolean | deleteFile
Specifies if files should be deleted after they are processed. |
string | endpoint
<p> Get the endpoint implementation. |
string | fileSystemManager
sets the file system manager |
date | firstTime
<p> Sets the date on which the first poll will be executed. |
ID | id
|
QName | interfaceName
<p> Get the qualified name of the endpoint interface. |
string | lockManager
Bean defining the class implementing the file locking strategy. |
string | marshaler
Specifies a <code>FileMarshaler</code> object that will marshal file data into the NMR. |
string | path
Specifies a <code>String</code> object representing the path of the file/folder to be polled.<br /><br /> <b><u>Examples:</u></b><br /> <ul> <li>file:///home/lhein/pollFolder</li> <li>zip:file:///home/lhein/pollFolder/myFile.zip</li> <li>jar:http://www.myhost.com/files/Examples.jar</li> <li>jar:../lib/classes.jar!/META-INF/manifest.mf</li> <li>tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.tar!/path/in/tar/README.txt</li> <li>tgz:file://anyhost/dir/mytar.tgz!/somepath/somefile</li> <li>gz:/my/gz/file.gz</li> <li>http://myusername@somehost/index.html</li> <li>webdav://somehost:8080/dist</li> <li>ftp://myusername:mypassword@somehost/pub/downloads/somefile.tgz</li> <li>sftp://myusername:mypassword@somehost/pub/downloads/somefile.tgz</li> <li>smb://somehost/home</li> <li>tmp://dir/somefile.txt</li> <li>res:path/in/classpath/image.png</li> <li>ram:///any/path/to/file.txt</li> <li>mime:file:///your/path/mail/anymail.mime!/filename.pdf</li> </ul> For further details have a look at {@link http://commons.apache.org/vfs/filesystems.html}. |
long | period
<p> Sets the number of milliseconds between polling attempts. |
boolean | recursive
|
string | scheduler
<p> Sets a custom scheduler implementation if you need more fine-grained control over the polling schedule. |
string | selector
Specifies a <code>FileSelector</code> object. |
QName | service
<p> Get the service qualified name of the endpoint. |
string | serviceUnit
the service unit |
string | targetEndpoint
the name of the endpoint to which requests are sent |
QName | targetInterface
the QName of the interface to which requests are sent |
QName | targetOperation
the QName of the operation to which requests are sent |
QName | targetService
the QName of the service to which requests are sent |
string | targetUri
<p> Gets the target URI of the consumer endpoint. |
| Attribute Detail |
Specifies a <code>Comparator</code> object.
Defined with global type string
the default component
Defined with global type string
Defined with global type boolean
<p>
Sets whether more than one poll can be active at a time (true means yes). Default value is <code>false</code>.
</p>
Defined with global type boolean
<p>
Sets the amount of time in milliseconds that the endpoint should wait before making the first poll.
</p>
Defined with global type long
Specifies if files should be deleted after they are processed. Default
value is <code>true</code>.
Defined with global type boolean
<p>
Get the endpoint implementation.
</p>
Defined with global type string
sets the file system manager
Defined with global type string
<p>
Sets the date on which the first poll will be executed. If a delay is
also set using <code>setDelay</code>, the delay interval will be added
after the date specified.
</p>
Defined with global type date
Defined with global type ID
<p>
Get the qualified name of the endpoint interface.
</p>
Defined with global type QName
Bean defining the class implementing the file locking strategy. This bean
must be an implementation of the
<code>org.apache.servicemix.locks.LockManager</code> interface. By
default, this will be set to an instances of
<code>org.apache.servicemix.common.locks.impl.SimpleLockManager</code>.
Defined with global type string
Specifies a <code>FileMarshaler</code> object that will marshal file data
into the NMR. The default file marshaller can read valid XML data.
<code>FileMarshaler</code> objects are implementations of
<code>org.apache.servicemix.components.util.FileMarshaler</code>.
Defined with global type string
Specifies a <code>String</code> object representing the path of the
file/folder to be polled.<br /><br />
<b><u>Examples:</u></b><br />
<ul>
<li>file:///home/lhein/pollFolder</li>
<li>zip:file:///home/lhein/pollFolder/myFile.zip</li>
<li>jar:http://www.myhost.com/files/Examples.jar</li>
<li>jar:../lib/classes.jar!/META-INF/manifest.mf</li>
<li>tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.tar!/path/in/tar/README.txt</li>
<li>tgz:file://anyhost/dir/mytar.tgz!/somepath/somefile</li>
<li>gz:/my/gz/file.gz</li>
<li>http://myusername@somehost/index.html</li>
<li>webdav://somehost:8080/dist</li>
<li>ftp://myusername:mypassword@somehost/pub/downloads/somefile.tgz</li>
<li>sftp://myusername:mypassword@somehost/pub/downloads/somefile.tgz</li>
<li>smb://somehost/home</li>
<li>tmp://dir/somefile.txt</li>
<li>res:path/in/classpath/image.png</li>
<li>ram:///any/path/to/file.txt</li>
<li>mime:file:///your/path/mail/anymail.mime!/filename.pdf</li>
</ul>
For further details have a look at {@link http://commons.apache.org/vfs/filesystems.html}.
<br /><br />
Defined with global type string
<p>
Sets the number of milliseconds between polling attempts.
</p>
Defined with global type long
Defined with global type boolean
<p>
Sets a custom scheduler implementation if you need more fine-grained control over the polling schedule.
</p>
Defined with global type string
Specifies a <code>FileSelector</code> object.
Defined with global type string
<p>
Get the service qualified name of the endpoint.
</p>
Defined with global type QName
the service unit
Defined with global type string
the name of the endpoint to which requests are sent
Defined with global type string
the QName of the interface to which requests are sent
Defined with global type QName
the QName of the operation to which requests are sent
Defined with global type QName
the QName of the service to which requests are sent
Defined with global type QName
<p>
Gets the target URI of the consumer endpoint.
</p>
Defined with global type string
| Fuse ESB Enterprise 7.0 XML Schemas | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||