|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Validation |
« View previous topic :: View next topic » |
Author |
Message
|
mverh |
Posted: Thu Apr 03, 2003 12:28 pm Post subject: Message Validation |
|
|
Voyager
Joined: 06 Mar 2002 Posts: 97
|
I have a question for experienced WMQI developers out there. I am trying to get a feel for how others using WMQI perform input message validation.
In particular I want to guage what you are doing to ensure that, when you xform XML messages to MRM, you don't exceed field lengths or move character data into numeric fields etc.
Now ideally the validation is done before the XML message destined for the WMQI flow is created but since you can't be guaranteed this will occur it seems to me that some validation of the XML input must be done prior to writing out the MRM data. Are you using a FILTER node, MRM constraints, custom plugin, nothing at all...
Any and all comments appreciated. |
|
Back to top |
|
 |
kirani |
Posted: Thu Apr 03, 2003 10:10 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Well, you can validate your input generic XML message upto some extent in a compute node when transforming it into MRM-CWF format, but it's not always possible to interrogate each and every field. Unfortunately there aren't many supporting ESQL functions to do this job.
Broker will throw an exception when you try to move char data into numeric fields. So I think, you can use a combination of MRM constraints (for lengths and data types) and some IF statements to validate your input data. You can also try importing a DTD or Schema into a message set and then use validate option to validate message against message set.
It is also a good idea to push most of the validation to the sending application. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mverh |
Posted: Fri Apr 04, 2003 5:34 am Post subject: |
|
|
Voyager
Joined: 06 Mar 2002 Posts: 97
|
Kirani, thanks for the reply...
What I am looking for is what WMQI developers are actually doing...I know the theoretical options available but this doesn't mean that in reality this is what WMQI developers are doing...and that's what I am interested in... |
|
Back to top |
|
 |
kirani |
Posted: Fri Apr 04, 2003 10:01 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I am using a combination of IF statements and MRM constraints. We have also come up with SLA's for client applications. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mverh |
Posted: Sat Apr 05, 2003 5:03 pm Post subject: |
|
|
Voyager
Joined: 06 Mar 2002 Posts: 97
|
Kirani, what do you mean by SLA's for client apps? |
|
Back to top |
|
 |
kirani |
Posted: Sat Apr 05, 2003 8:21 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Service Level Agreement.
Here both the parties agree upon the format, quality, timings, etc about input/output data. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
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
|
|
|
|