понедельник, 21 января 2013 г.

Sender File Adapter with Additional File(s)


My example:

I have two files in Source Directory (/usr/sap/.../myfolder/) : arc.xml and archive.zip.

I want to get them in one payload. Arc.xml as maindoc and archive.zip as attachment.

Configuration of Sender File Channel:

Adapter Type: File
Transport Protocol: File System (NFS)
Message Protocol: File

Source Directory: /usr/sap/.../myfolder/
File Name: arc.xml

Check Additional File(s)

File List: <archive.zip>

Options:

<archive.zip>.namePart ---------    ".xml"="hive.zip"
<archive.zip>.optional ---------     NO
<archive.zip>.type     ---------     BIN

NamePart - replace From arc.xml to archive.zip 
and then channel try to find file archive.zip and add it to payload.

Комментариев нет:

Отправить комментарий