Posted: Thu May 20, 2004 2:51 pm Post subject: Compute Node Validation Setting
Centurion
Joined: 17 May 2002 Posts: 108
WMQI 2.1 CSD6
I have imported a schema into MRM. I have a simple flow:
MQInput configured for message set
Compute set to validate value and content
MQOutput
Validation occurs as expected.
I have a second flow:
MQInput configured for XML
Compute node set to validate value and content. ESQL based on XML domain(part of which retrieves from a db what messageset to validate against). ESQL statements to set Properties.MessageSet and Properties.MessageFormat values to the MessageSet in first flow.
MQOutput
Validation is not occuring.
Is it "legal" to set the MessageSet via esql for Compute Node validation.
If I modify the flow:
MQInput set to XML domain
Compute1(same as prev post)
ResetContentDescriptor to reset Message Domain
Compute2 just copy message/header - but with validation on
MQOutput
I get validation.
Is this necessary configuration? It appears that validation option on the first Compute Node only holds the current message state info for validating. I know it's my ignorance..but I have read thru what I believe are pertinent areas of the manual and searched posts here - how exactly does the Compute validation work? Anybody have a better idea for my flow?
thx
Compute node validation only works for MRM domain.
The validation takes place when the message is written to the bitstream by the MRM.
So at the point that the message is written you have to be in the MRM domain.
In your first example although you have set the messageset and format properties in the ESQL this does not automatically change the output domain to MRM, the body of the message is still in the XML domain.
You wither need to reset the domain (eg RCD node) or build your output message in the MRM domain (eg. OutputRoot.MRM...)
This is why the second example works and the first does not.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum