on 11-19-2009 3:13 PM
Dear all,
I would like to choose a target inbound interface depending on values in a field.
The problem is, that the source field has occurency 0...unbounded so that I check
the same field twice.
Example:
/TestMessage/Field1 = "A"
AND
/TestMessage/Field1 = "B"
To route the message to the desired inbound interface we need at least two occurencies
of source field "Field1". One with value "A" and one with value "B".
But he seems to check if Field1 is "A" and "B" so he will never use the desired inbound
interface. Do I have a chance to check values of two occurencies of one field or do I need
to use enhanced interface determination?
Thanks
Chris
Christian
If it does not work, then try
/TestMessage[Field1 = 'A' and Field1 = 'B' EX (as the operator)
there should be "]" after 'B'. I cannot get it to display here
Regards
Asif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
You interface determination condition should work. e.g for one of my interface I am using following interface determination condition to send the msg to specific inbound interface.
(/p1:MT_Input/Recordset/row/Key = 10 AND /p1:MT_Input/Recordset/row/Key = 20)
The condition check if there is any "Key" with value 10 and othet with value 20 and then only it selects the desired output
inbound. The order of value 20 and 10 doesnt matter. Also only when both the values are there, then also inbound interface is
selected.
Can you provide your sample payload here?
Pooja Pandey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this way:
/TestMessage/Field1[0] = "A"
and
/TestMessage/Field1[1] = "B"
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does this mean, that the order of incoming messages are always have to be the same?
Would the result of the condition be the same for the following source messages?
<TestMessage>
<Field1>A</Field1>
<Field1>B</Field1>
</TestMessage>
<TestMessage>
<Field1>B</Field1>
<Field1>A</Field1>
</TestMessage>
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.