on 01-16-2007 10:57 AM
Hi All,
I have configured file to file scenario in which files are read from FTP server & moved to archive directory after processing & new file is created in target directory.
Scenario is working fine with above mentioned case but I want to move faulty source files to different directory (not to archive directory). There is one option available to move it to different directory. But instead of moving faulty files to faulty directory, files are getting moved to archive directory & I am getting Mapping Exception error in SXMB_MONI (which is correct).
Does any body know how to move faulty files to fautly directory ..???
I am using PI 7.0
Hi,
Adding to comments of Sandro and mike, you can use conditions in receiver detemination to check for faulty messages and use a separate scenario to put in a different directory.
You may also use Java Mapping to handle the same. You can change the target directory name using DynamicConfiguration.
Regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can use the Dynamic Receiver Determination and check all the pre-requisite with a mapping, than direct the message on the right receiver (and directory) or another receiver (the manager of failure, the faulty directory)
Please look here:
/people/robin.schroeder/blog/2006/11/15/using-dynamic-receiver-determination-with-sync-interface
Regards,
Sandro
Closing it as long time..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
xi does not validate your message
(so it does not know if it's good or faulty)
so you can send anything, even jpg files...
only when you use MESSAGE MAPPING
will the error occure - indicating that
your message had wrong structure
if you want to validate youself you can
do it inside an adapter module and put it into another folder
this will requiure a little bit of programming but
you will have the files validate as you want
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a long talk: it depends from in which phase you want to trap the fault:
Sender Adapter ?
Message Mapping ?
Receiver Adapter ?
You can manage error in the Message Mapping with a BPM, with an exception handler that re-write the inbound message on a fault directory.
For more information, please clarify bettere your need.
Regards,
Sandro
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.