cancel
Showing results for 
Search instead for 
Did you mean: 

Directory specification for File Adapter

Former Member
0 Kudos

Hello,

I would like to ask if it is possible to determine a directory where message is saved for file adapter based on message content.

E.g. I have general directory (GD) under which I would like to save a messages in directories with are called based on vendor number what is part of a message.

So a message would be saved in

...\GD\vendor number\file name.

In case that vendor number directory is not created yet I need to create it.

I know that in file adapter a directory name is constant and file name can differ based on settings.

This behaviour is in Business Connector enabled through possibility to write an "user-exit" in Java for directory determination.

Is something similar possible in XI ?

We are currently running on XI 3.0 with external adapter engine version 2.0 but to use internal adapter engine is no problem for me.

Thank you for your advice.

Marian Morzol

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marian,

You can do this with content based routing in the interface determination, but then you have to create a new interface/channel for every extra directory.

Cheers,

Frank

Answers (0)