cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with File name based receiver determination condition in Async-sync bridge scenario

Former Member
0 Kudos

Dear Expert,

I am trying to create a Async-sync bridge scenario in PI. I have following requirement

  • I need to pick the files from a file server(Server 1)
  • map to wsdl, and send it to web service(sync-weburl)
  • Receive the response from web service
  • Route that response to multiple receiver using the file name used in step 1

I have executed the following steps:

1. Created an integrated configuration from server1(Async interface) to web service(sync interface)

  • Added the modules request-response bean and responseoneway bean in receiver channel
  • provided the parameters like passthrough, interface, interfacenamespace and replace interface.

2. Created second integrated configuration from web service(async) to file server(async)

  • I need to use the filename of step1 in this step, and here I am stuck. Need your help.

Please let me know if there is anyway to use the filename from the first integrated configuration in to the second integrated configuration receiver determination condition.

Thanks and Regards,

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Shweta

You can try out the technique mentioned in the following blog.

In a nutshell use DynamicConfigurationBean to:-

i) Store the filename into the dynamic header before the sync call

ii) Retrieve the filename in dynamic header after call and store it in a DynamicConfiguration ASMA attribute that can be accessed during Receiver Determination

Regards

Eng Swee

Former Member
0 Kudos

Thanks for the pointers  Eng Swee

I'll try using DynamicConfigurationBean in this case.

Regards,

Shweta

Answers (0)