Petals-BC-Filetransfer 3.x

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (12)

View Page History




|| Attribute || Description || Default value || Required ||
| filename \\ | The name of the file where the JBI message (the XML content) will be written in. \\
\\
*Service Unit attributes to provide services*
|| Attribute \\ || Description \\ || Default Value \\ || Required \\ ||
| folder \\ | Working directory where files are written or retrieved. $ \{myEnvVariable\} environment variables are supported. | {center}\-{center}\\ | {center}Yes{center}\\ |
| backup-directory \\ | The directory where files are moved after being read.Environment variables are supported with the form $\{myEnvVariable\}. | | {center}No{center} |
| polling-period | Polling period in milliseconds | {center}1000{center}\\ | {center}No{center}\\ |
| filename\\ | | | |
| filename | Pattern used filter files to read | {center}\*{center}\\ | {center}No{center}\\ |
| transfer-mode \\ | | | | The mode of transfer of the received file(s) as message payload. \\
Accepted values : content, attachment. | {center}attachment{center}\\ | {center}No{center}\\ |
| base-message \\ | The skeleton of XML-message to send to the consumed service. \\
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;It may contain <b>$content</b> or <b>$attachment</b>, or none of them. \\
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;This is the way the component should link the file with the returned message.\\
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;\\
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<b>$content</b> will be replaced by the file content.\\
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<b>$attachment</b> will set the file in attachment. It will be replaced by \\
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;a xop:include element which references the attachment (MTOM-like). | | |
It may contain *$content* or *$attachment*, or none of them. This is the way the component should link the file with the returned message. \\
* *$content* will be replaced by the file content.
* *$attachment* will set the file in attachment. It will be replaced by a xop:include element which references the attachment (MTOM-like). | | {center}No{center} |

h3. Service Unit descriptor