| Fuse ESB Enterprise 7.0 XML Schemas | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||
http://servicemix.apache.org/file/1.0)>http://servicemix.apache.org/file/1.0)
A polling endpoint that looks for a file or files in a directory 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; be 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 | archive
Specifies a directory relative to the polling directory to which processed files are archived. |
boolean | autoCreateDirectory
Specifies if the endpoint should create the target directory, if it does not already exist. |
string | comparator
Specifies a <code>Comparator</code> which will be used to sort File listing before starting to process. |
string | component
|
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 | file
Specifies the file or directory to be polled. |
string | filter
Bean defining the class implementing the file filtering strategy. |
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. |
integer | maxConcurrent
How many open exchanges can be pending. |
long | period
<p> Sets the number of milliseconds between polling attempts. |
boolean | recursive
Specifies if sub-directories are polled; if false then the poller will only poll the specified directory. |
string | scheduler
<p> Sets a custom scheduler implementation if you need more fine-grained control over the polling schedule. |
QName | service
<p> Get the service qualified name of the endpoint. |
string | serviceUnit
|
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 directory relative to the polling directory to which
processed files are archived.
Defined with global type string
Specifies if the endpoint should create the target directory, if it does
not already exist. If you set this to <code>false</code> and the
directory does not exist, the endpoint will not do anything. Default
value is <code>true</code>.
Defined with global type boolean
Specifies a <code>Comparator</code> which will be used to sort File listing before
starting to process.
The default is null, means no sorting. <code>Comparator</code> objects are implementations
of <code>java.util.Comparator</code>.
Defined with global type string
Defined with global type string
<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
Specifies the file or directory to be polled. If it is a directory, all
files in the directory or its sub-directories will be processed by the
endpoint. If it is a file, only files matching the filename will be
processed."
Defined with global type string
Bean defining the class implementing the file filtering strategy. This
bean must be an implementation of the <code>java.io.FileFilter</code>
interface.
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
How many open exchanges can be pending. Default is -1 for unbounded pending exchanges.
Set to 1...n to engage throttling of polled file processing.
Defined with global type integer
<p>
Sets the number of milliseconds between polling attempts.
</p>
Defined with global type long
Specifies if sub-directories are polled; if false then the poller will
only poll the specified directory. If the endpoint is configured to poll
for a specific file rather than a directory then this attribute is
ignored. Default is <code>true</code>.
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
<p>
Get the service qualified name of the endpoint.
</p>
Defined with global type QName
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 | ||||||