on 03-14-2013 4:09 AM
Hi,
I have scenario where, I need to send a flat file to a ftp folder and once it's done. I need to inform 3rd party system, Stating file is placed on folder, process it.
How do i acheive this as two interface mappings will not help as the first file is huge and file adapter can take some time to deliver. I dont want my second process to send a confirmation message to 3rd party before the file is delivered.
Please suggest some ideas.
Hi,
Please go through the below link for clear understanding of how to handle file acknowledgments.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhas,
You can achieve it though intergation process/BPM.
Steps of the step would be like this -
1. Receive step .
2. Transform step if there is any mapping if not then skip this step,
3. Use block with exception branch within thn that place send step for sending the file to third party.
Add transform step to create sucess massage in email format.
Add send step to send this success mail to concerned party.
4. In exception branch you can add some control step to raise alert or you can create failure message in email format & send it across to third party by adding Transform+send step.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can have a BPM such that:
1. Have a receive step to receive in BPM.
2. Send to receiver system.
3. Send acknowledgement to third party system
In BPM, the step 3 will not be executed until step 2 is done. If you want such that you also need the negative acknowledgement i.e the process of sending message to receiver has failed, then do the following:
Introduce a container variable of type xsd:int say count1.
1. Receive step.
2. Have a fork with the below flows:
2a. Send the message to receiver, followed by container operation to increment count1 by 1.
2b. Have a switch case here, if count1 = 1, then execute the send step for positive acknowledgement
else send the negative acknowledgement.
You can have different transformation steps before sending for positive or negative acknowledgements.
Hope this helps..
Interesting scenario... not sure about this approach my idea is to:
Make it 2 simple scenarios:
Main interface: File to File(FTP)
Secondary File to ThirdParty
Use RunOperatingSystemCommand in Reciver File Adapter...once your main File was written in folder make sure you write a dummy file in another file folder using operating system command.
With the dummy File secondary interface will gets triggered and sends message to third party.
Let us know how this is going.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.