on 08-17-2008 12:18 PM
Hi,
Look at the following xml message:
<message>
<a> 1 <\a>
<a> 2 <\a>
<a> 1 <\a>
<a> 2 <\a>
<\message>
I want to rout all lines where "a = 1" to output file "1.txt" and all lines where "a = 2" to "2.txt.".
I know it can be done by a "hard-coded" MM. yet, I want to enable max abstraction level and shift as mush as possible logic to the configuration phase.
Plz offer possible solutions?
Regards
Edited by: uri karagila on Aug 17, 2008 1:18 PM
Edited by: uri karagila on Aug 17, 2008 1:18 PM
the best way to do this is to maintain the logic in the MM. So you have split message mapping one set of values goes to message 1 and the other goes to message 2,
then you maintain the conditions in the interface determination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.