cancel
Showing results for 
Search instead for 
Did you mean: 

Message Transform Bean and Message Split

former_member187563
Contributor
0 Kudos

Hello,

We have a file to file scenario. At sender File channel, we are using Payload Zip Bean (for unzipping the source file) and Message transform bean for message processing (As the Payload Zip Bean and FCC can not be used together).

But we are supposed to receive huge files, which is failing in PI. In FCC we can split the file using recordsetsPerMessage. But this option is not available in Message transform bean.

Can you please suggest any way to handle this kind of scenario.

Thanks

Ujjwal Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Ujjwal,

Record set per message will work I guess,Did you try and get some error?

former_member187563
Contributor
0 Kudos

Yes I tried. There is error in communication channel.

former_member186851
Active Contributor
0 Kudos

Hello Ujjawal,

Are you processing the XML in the file,?

If not why dont you make it pick and drop.

manoj_khavatkopp
Active Contributor
0 Kudos

How are u picking the file ? Which adapter?

You can use OS command to run before file processing to unzip the file and then use FCC.

former_member187563
Contributor
0 Kudos

File Adapter. But we did not want to use scripts for unzipping.

Ryan-Crosby
Active Contributor
0 Kudos

Hi Ujjwal,

If you are going to use the payload zip bean then you would need a two step process because you would need FCC for the message splitting part.  Otherwise, you can take the approach that Manoj has suggested with the OS command and then you can achieve it with one scenario.

Regards,

Ryan Crosby

manoj_khavatkopp
Active Contributor
0 Kudos

Recordsetpermessage is not supported in MTB for more info check the blog:

If u don't want to use script then as above suggested create 2 interface one to unzip the file and other for FCC.

Br

manoj