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

How can One sender communication channel pick two file from two location

Hello

I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2009 at 12:50 PM

    Hi,

    I am not sure whether it can be done using only one channel.

    From my knowledge, i think i would not be possible..!!

    If the two messages are pointing to two different directories, why cant you go for two different communication channels, specifying the same file name placed in two different directories..

    Regards,

    Swetha.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 25, 2009 at 12:55 PM

    Try to use advanced option for file sender, there you may provide other directory names for additional files.

    Regards,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

    • >

      > Hello Vijay

      > I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:

      > i have two folder folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can pick file from two location and how one receiver channel can put in two location.please help me..

      Ok now I get your requirement.

      you cant achieve this - how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.

      easy way - involve IR mapping

      else

      have a adapter module to define your dynamic configuration.

      Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further

      Set the dynamic directory/file name etc for your receiver adapter.

  • Posted on Feb 26, 2009 at 07:15 AM

    >

    > Hello

    > I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

    use Advanced Selection for Source File in the sender file adapter.

    You can specify multiple directories.

    ex.

    Advanced Selection for Source File

    Directory -


    File Name Mask

    /xxx/yyy/z1 myfile

    /xxx/yyy/z2 myfile

    /xxx/yyy/z3 myfile

    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.