cancel
Showing results for 
Search instead for 
Did you mean: 

Dealing with Sender Agreements

Former Member
0 Kudos

I have one SYSTEM with 2 FTP sender channel. Each channel sends data with the same interface.

Is it possible to define that the data from sender channel 1 must be sent to BPM1 and data from channel 2 to BPM2?

Will Receiver propery for sender agreement work?

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Hi Sergey,

the channel does not count for routing, so it is not possible.

But I wonder have you manage, that different channels use the same interface. In a sender agreement the interfaces are key fields and therefore I do not think that this would be possible.

Why you don't use different interface names, that would solve your problem.

Regards

Stefan

Answers (3)

Answers (3)

manish_bhalla2
Contributor
0 Kudos

Hi Sergey,

There is one possible solution.

1. Use a single File adapter, picking up files from multiple directories.

2. Set the Adapter-Specific Message Attributes to capture the Directory.

3. Use the Directory name to differentiate between the two types of files. Use this in the Receiver determination to send it to different BPMs.The adapter-specific message attributes are available in the expression editor in the rcvr determination as context objects.

Do let me know if this helps you.

Cheers

Manish

Former Member
0 Kudos

Hi,

Have of thought of using x path in Receiver determination?

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

Regards,

Anirban.

Former Member
0 Kudos

Hi Sergey,

This you can do it in your receiver determination. In that case you can avoid the usage of BPM.

Cheers

JK