on 05-25-2009 4:19 PM
Hi,
I want to store a value in XPATH inside JAVA Mapping (and then I will use the XPATH in Receiver Determination to put some condition).
Please suggest some way how to store a value in XPATH inside JAVA Mapping.
Regards,
Madan Agrawal
The problem is solved.
In IR, I created the Receivers dynamically using JAVA Mapping and in ID I use the Enhanced Receiver Determination. It worked.
Regards,
Madan Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
xpath is just a link to your XML value
nothing more so if you need to use xpatch just put the value in the XML file
anywhere
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.
>>xpath is just a link to your XML value
>>nothing more so if you need to use xpatch just put the value in the XML file
>>anywhere
Hi Michal,
My input file is a text file. and the structure of the text file is very complex to convert it into XML so I have choosen to use JAVA Mapping to route the text file to destination.
Requirement is to send the file to two destination based on the value of a field inside text file.
so inside my java mapping I want to store that value in XPATH (which I will use in Receiver determination to put a condition to route the file to two destination) .
Please suggest if it is possible.
Also please suggest if there is any other way to acheive this ( to put a condition in RD while I am using Java mapping in IM)
Regards,
Madan Agrawal
>>I would suggest to store the value in <dynamic configuration>.
Thankz Mario,
But please suggest how to use the dynamic configuration to send the file to two destination.
>>Search the threads for dynamic configurarion.
>>It is possible to write into dynamic configuration with java mapping
I know how to store the value in dynamic configuration inside JAVA Mapping.
regards,
Madan Agrawal
Hi,
design a BPM, which proccesses the JAVA-Mapping. In the JAVA-Mapping write to the dyn. Attrbs.
a) Configure a receiver-Determination (from initial sender to BPM )
b) Configure a receiver-Determinations (from BPM sender to possible receivers)
in (b) make a condition on the value inside the dyn. Attrbs.
Regards
Mario
> Requirement is to send the file to two destination based on the value of a field inside text file.
> so inside my java mapping I want to store that value in XPATH (which I will use in Receiver determination to put a condition to route the file to two destination) .
This is not possible, as the receiver determination is executed before the mapping.
You can use enhanced receiver determination to determine the receiver in your Java mapping directly. In that case you need a rule inside the Java Mapping to determine the receiver directly.
Regards
Stefan
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.