cancel
Showing results for 
Search instead for 
Did you mean: 

Get additional file attachements with file adapter

LeonBoeijen
Explorer
0 Kudos

Hello,

Has anyone ever had the following situation:

A Sender interface sends a little bit of data to XI.

This data contains the filenames of some files on a FTP server.

Based on these filename the file needs to be retreived from a FTP server and further handled as an attachement of the XI message?

Is it possible to trigger a sender file adapter with a variable directory and filename from XI, in a BPM or Mapping?

Warm Regards,

Leon Boeijen

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>Is it possible to trigger a sender file adapter with a variable directory and filename from XI, in a BPM or Mapping?

no it's not possible to start a file adapter from BPM

you can use a java proxy that will do the trick

we've used a solution like this many times with no big issues

remember that it's better to use an async java proxy

(with correlation) then a sync one...

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

BTW

>>>Based on these filename the file needs to be retreived from a FTP server and further handled as an attachement of the XI message?

java proxy will also allow you to put the message

in the attachemnt in one place as java proxies support attachments

Regards,

michal