on 08-03-2007 1:42 PM
Hello All,
I have a scenario RFC to XI
I collect the messages from RFC , process it using XI (BPM) and store the processed messages in a folder on the server using File Adapter.
Depending on a condition flag i have to move all the processed messages to a reciever comm channel.
All works fine, But i have a small problem, since all the processed messages go to the same output folder on the server. I want to delete the message(XML Files) from the o/p folder or move them to another folder as soon as it is send to a reciever comm channel.
I have a java class(called from a BPM) which reads the xml file from the o/p folder one by one and puts its content in a FileOutputStream, which forwards it to the reciever.
So i am trying to delete the file using the java.io.File.delete() method.
But i guess this cannot delete the file on the XI server.
Is there any other way for me to proceed?
Any pointers on this will be appreciated.
Thanks
Meghana
achieved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meghana !
Could you explain more clearly your scenario? is RFC-XI (BPM)-File?
Where do you check the condition flag?
Regards,
Matias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Meghna, correct me if i'm wrong
You are writing your RFC response back to a file. You use this file for further processing and after that you want to delete this file.
Am i corret??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.