on 03-05-2010 7:53 AM
Hi,
A xyz system sending a file of 100 records and in it 20 have error those error messages have to come back XYZ dircetory this senario is file to proxy ,plz help me with solutions
Regards,
Eswar
Hi Prasad,
U can achieve the above requirement without using the BPM also.
1.U will have 2 message mappings. 1 for valid records into the proxy. Other for the invalid records to the file.
This is required because.. u will face problem if u use proxy in multimapping with a File adapter(Not supported).
2.u will have correspondingly 2 operation mappings.
3.Since the same sender is receiver for file and also for proxy... configure accordingly in configuration.
U will have 2 interface determinations and also 2 receivers in receiver determination.
This will work out.. try it.
If still any prblm.. pl do post..
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A xyz system sending a file of 100 records and in it 20 have error those error messages have to come back XYZ dircetory
this senario is file to proxy
The Source file has 100 records....out of which 20 are error messages
Maintain two Receivers in receiver Determination....one for PROXY and second will be your FILE directory.
Now in the mapping for FILE --> 20Error --> FILE flow maintain validation check which will separate out these 20 msgs from the rest and populate it in the target FILE structure.
Message Branching.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
<<<u will have to use a BPM..
you don't have to use a BPM for sure
it's a simple file - proxy (async)
and proxy - file (for messages with errors)
so nothing easier
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>i suppose the error here means the error in the message mapping between file and proxy....
that's the point
you can send them to proxy anyway and from there to PI again
this way you don't need to use a BPM
unless the proxy is a standard one (you cannot change it's code) - then it would be a little bit more difficult
Regards,
Michal Krawczyk
u will have to use a BPM..
1. receive step
2. transformation step which will do the 1->N mapping to have one message for each record..
3. use a block in par for each mode...inside that u can use the transformation step to do the actual maaping...and if there is any
error u can do exception handling .
4.in the exception handling block u can use async send step to send the file with errorneous records to the directory ERROR.
5. if there is no error in the par for each block ..then u can use a async send step to send the file to directory SUCCESS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.