Skip to Content
author's profile photo Former Member
Former Member

Directory specification for File Adapter

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2004 at 08:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.