ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Incorrect message getting parsed

Post new topic  Reply to topic
 Incorrect message getting parsed « View previous topic :: View next topic » 
Author Message
deeps1281
PostPosted: Wed Mar 08, 2006 9:46 pm    Post subject: Incorrect message getting parsed Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Wed Mar 08, 2006 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
deeps1281
PostPosted: Wed Mar 08, 2006 10:49 pm    Post subject: Reply with quote

Apprentice

Joined: 31 Aug 2005
Posts: 29

Sorry abt the form and thanks for the reply
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Incorrect message getting parsed
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.