|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (9)
View Page History* Poll a configured directory for incoming files. At a poll, each file retrieved is put into a new JBI message, set as source or attachment. The message is sent to a target JBI service.
{info}
All attachment are processed by using XOP rules.(XML-binary Optimized Packaging : [http://www.w3.org/TR/xop10/] ){info}
All attachment are processed by using XOP rules.(XML-binary Optimized Packaging : [http://www.w3.org/TR/xop10/] ){info}
h1. Exposing a file system access as a service
{info}
All operation support wild card character.
{info}
{info}
h2. Usage
h3. Put Operation
When the put operation is set on the incoming IN message, the component writes the XML message to the configured directory.
The created file takes the name described in the service unit (filename parameter) otherwise the operation name is taken. For each file created, the system date is appended to this file name.
The IN message looks like :
{code:lang=xml}
{code:lang=xml}
h3. MPut Operation
When the mput operation is set on the incoming IN message, the component writes the attachments on the configured directory.
The IN message looks like :
{code:lang=xml}
{code:lang=xml}
h3. Get Operation
When the get operation is set on the incoming IN message, the component retrieves ONE file from the configured directory and return it as an XML message content.
\\
h3. Del Operation
When the del operation is set on the incoming IN message, the component deletes the remote file. The IN message looks like :
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
<ver:del xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3">
<ver:del xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3">
|| Attribute || Description || Default value || Required ||
| server | IP or DNS name of the server | | {center}Yes{center} |
| server | IP or DNS name of the server | | {center}Yes{center} |