cancel
Showing results for 
Search instead for 
Did you mean: 

Sending the same message to two different folders under the same Business C

Former Member
0 Kudos

In PI 7.11 I have a file pass thru scenario, where I pick up a message from one folder and pass thru the message to two other folders. I need to send the message to the "primary" folder in the receiver system and in addition I need to send the same message to an archive folder in the same receiver system (same Business Component). I am aware of the archive functionality in the file sender adapter, but I am wondering if there is an other way of doing this without using BPM.

Please note, that I am not using Interface Determination as I am merely passing thru the message. I am just specifying the Interface "passthru" in the sender agreement, receiver determination and receiver agreement.

BR Mikael

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Mikael,

there are serveral ways (like mentioned by Stefan). The most easy way (from my point of view) is to setup a second Business System(component), add that in the Receiver Determination , copy the channel, change the target folder and create an Receiver Agreement -> ready.

Regards,

Udo

stefan_grube
Active Contributor
0 Kudos

You can use two different interface determinations for different (dummy) interfaces and do a receiver agreement with different channels.

You could also use an OS script for copying the file to the second folder.

Former Member
0 Kudos

The interface name in the sender agreement is "passthru". If I create 2 Interface Determinations don't I need to specify different Interface names for those and hence the "new" Interface name ("passthru_archive"), is unknown/missing a sender agreement?

stefan_grube
Active Contributor
0 Kudos

Sender agreement is not affected by interface determination at all.

Former Member
0 Kudos

Hi ,

unknown/missing a sender agreement.....

If you create new interface determinaton i doesnt affect the sender aggrement ...Please cross check the configuration and rectify it works....

Thanks and Regards,

Naveen.

Former Member
0 Kudos

I think I shall just use the Archive functionality on the sender file adapter..

The way I see it, you can only have one channel assigned to one receiver agreement, and if you create 2 receiver agreements you need 2 different interface names. The same goes for Interface determination when you wish to select the same business component.

Thanks for you effort

Former Member
0 Kudos

OK, I made it work. I have one sender agreement and one interface determination containing two inbound interfaces. In addition I have one receiver agreement for each of the two inbound interfaces. The interfaces are not validated (can be dummy). The sender interface name is "passthru" all the way through.

Thanks again.

Former Member
0 Kudos

Hi,

we had the similar requirement and acheived the same using two ID,RA,...

only in the channel same directory was different..

HTH

Rajesh

Edited by: Rajesh on Feb 9, 2011 6:34 PM