|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Incorrect message getting parsed |
« View previous topic :: View next topic » |
Author |
Message
|
deeps1281 |
Posted: Wed Mar 08, 2006 9:46 pm Post subject: Incorrect message getting parsed |
|
|
Apprentice
Joined: 31 Aug 2005 Posts: 29
|
Hi
I have defined a message set in which i have defined the minimum occurence of each field as 1 ,thus making all the fields mandatory.
My input node takes a blob and inside my compute node i try and parse the blob in to MRM according to my defined message set using
CREATE LASTCHILD OF ref_InputDOMAIN 'MRM' PARSE (blb_InputBLOB, int_Encoding, int_CCSId,MessageSetID, MsgSetType, 'MsgSetFormat).
Now even if i send a message that does not contain one of the required fields the blob successfuly gets parsed in to MRM without all the required fields.
I require it to give a parsing exception stating that a required field is missing.
Could you let me know why it is not giving a parsing exception as i need to handle such a problem in my error module.
Thanks |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Mar 08, 2006 10:22 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi deeps1281,
First of all, wrong forum
You need to turn on validation....
Why are u using BLOB if you have defined a message set ? Validate the message in the input node itself, it will throw the exception.
Regards. |
|
Back to top |
|
 |
deeps1281 |
Posted: Wed Mar 08, 2006 10:49 pm Post subject: |
|
|
Apprentice
Joined: 31 Aug 2005 Posts: 29
|
Sorry abt the form and thanks for the reply |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|