Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

PayloadZip bean for multiple files

$
0
0

Dear All

 

I am doing a scenario where I have to pick up a zip file containing multiple files.The task is to unzip and place the files in the target directory. I am using AF_Modules/PayloadZipBean in the receiver channel

 

The requirement is that the unziped files should have the same name as the original files

 

eg ABC.zip file contains invoice1.txt, invoice2.txt, invoice3.txt

 

The output in the final directory should be

invoice1.txt, invoice2.txt, invoice3.txt

 

The poblems I am facing

 

1. When I use ASMA parameters and give "*" in the receiver Communication Channel I get the original "zipped" file as output: ABC.zip

 

rec.JPG

 

2. If I remove ASMA parameters and give a permanent name I get one one file as output. File.txt

rec1.JPG

 

I even tried DynamicConfigurationbean and variable substitution but it is alo yiedling the original zipped file as output

 

How can I aceive the functionality I am looking for

 

Sourabh


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>