on 07-13-2009 3:15 AM
Hello,
I have a adapter module ( java bean ) which gives either of 2 xmlx : Xml A or Xml B
Xml A : has a separate mapping and then it is mapped to IDOC.
Xml B : is mapped to a flat file and goes to a directory on NFS
So the way to design this is a single comm channel will pick files and either of 2 xmls will be generated. In first scenario recev determination : i will put cond recv determination that only xml having top node of xml A should pass and then through pipeline steps it will be mapped to IDOC,.
And in second case for XMl B : same channel will pick file but in cond recv detemrination : i will put a check to let only xml pass through which has top node as of xml B.
So basically in pipeline steps : first the sender channel picks file and then all the recv determination etc happens?
Want to confirm whether this design will work?
Thank you.
This shouldnt have any issues.
Make sure instead of directly using an xpath to check condition, create a context object.
I suggest this because your adapter module will generate two different xml structures and hence only a pre defined context object can make sure the right path is checked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.