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 » about check node

Post new topic  Reply to topic
 about check node « View previous topic :: View next topic » 
Author Message
sarat
PostPosted: Wed Aug 17, 2005 5:58 am    Post subject: about check node Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

hi

i am specifying the domain xml in the check node,i am passing a blob message from the mqinputnode.what is my intension is if i pass the blob message it must come under failure terminal since i have specified XML in check node.if I pass xml message it should come under match node.

But i'm getting the same o/p(from match terminal) whether it's blob or Xml.wht's the wrong with that. plz help me
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
mqsidude
PostPosted: Wed Aug 17, 2005 7:33 am    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

hope you have checked the 'Check Domain' check box.
Back to top
View user's profile Send private message
sarat
PostPosted: Wed Aug 17, 2005 9:32 am    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

yeah i've checked...but i'm not getting the expected o/p
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
kspranava
PostPosted: Wed Aug 17, 2005 10:58 pm    Post subject: inputnode Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Why not check it in inputnode itself?
Back to top
View user's profile Send private message
javaforvivek
PostPosted: Fri Aug 19, 2005 1:43 am    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

kspranava wrote:
Quote:

Why not check it in inputnode itself?


MQInput Node is used to set (and NOT to check) the Message Domain so that the Broker knows which parser to use to parse the incoming message.

According the WBIMB help, Purpose of the Check Node is:
Quote:

Use the Check node to compare the structure of a message arriving on its input terminal with a message structure definition that you supply when you configure the Check node. The message structure definition comprises the message domain; if the message domain is MRM, you can also specify any combination of message set and message type. The Check node checks only the message structure definition; it does not check the message body.


sarat - Are you setting the message domain of your input message in RFH2 header info? Please post the exact settings of your MQInput Node and Check Node as well as any RFH2 setting you have made in your input message.

This is what WBIMB Help says about settings in MQInput Node:
Quote:

Select Default in the properties dialog navigator and set values for the properties that describe the message domain, message set, message type, and message format that the node uses to determine how to parse the incoming message, and the default topic associated with the message.
If the incoming message has an MQRFH2 header, you do not have to set values for the Default properties because the values can be derived from the <mcd> folder in the MQRFH2 header. For example:
<mcd><Msd>MRM</Msd><Set>DHM4UO906S001</Set><Type>receiptmsg1</Type>
<Fmt>XML</Fmt></mcd>
If you set values, and those values differ from those in the MQRFH2 header, the values in the MQRFH2 header take precedence.

_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kspranava
PostPosted: Fri Aug 19, 2005 1:52 am    Post subject: Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Hi,

javaforvivek said

Quote:
MQInput Node is used to set (and NOT to check) the Message Domain so that the Broker knows which parser to use to parse the incoming message.


Agreed. but in sarat's case, the above said feature can be very well used to check whether the incoming msg is XML or not. Unless sarat wants to consider BLOB msg as a valid msg and perform diff set of operations, MQ input node can be used.
Back to top
View user's profile Send private message
javaforvivek
PostPosted: Fri Aug 19, 2005 3:05 am    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

kspranava wrote:
Quote:
Agreed. but in sarat's case, the above said feature can be very well used to check whether the incoming msg is XML or not. Unless sarat wants to consider BLOB msg as a valid msg and perform diff set of operations, MQ input node can be used.


Sarat has made his intentions very clear:
Quote:
i am specifying the domain xml in the check node,i am passing a blob message from the mqinputnode.what is my intension is if i pass the blob message it must come under failure terminal since i have specified XML in check node.if I pass xml message it should come under match node.


What he has not stated are the settings of the MQInput node or RFH2 header.
I have asked him for more details about his settings, but from the above quote; I guess that he expects that the check node should check for XML domain - 'on the fly'..
I guess, he has neither set any message domain in MQInput Node, Nor he has set it in his RFH2 header. In this case, the broker will take BLOB as default parser (experts here may correct me if I'm totally wrong here - but that's what I see in my Flow Debug).
There is only one way to specify the domain 'on the fly' - Specify the message domain in the RFH2 header instead of MQInput Node.

Again,
how can any node 'check' the message domain, if it is NOT set previously?
Let's wait for more inputs from Sarat before going any further...
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sarat
PostPosted: Fri Aug 19, 2005 10:01 am    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

hi

thank u very much for u r kind replies.sorry for late response.

here are the following settings I have made.
In MQINPUT node i specified domain as BLOB.
In Check node I have given the domain as MRM and specified the corresponding message set ids and types.

my intension is if I pass blob message it should go for failure terminal but it is moving to match terminal.

plz kindly reply for this

bye
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
javaforvivek
PostPosted: Sun Aug 21, 2005 10:37 pm    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Sarat,
First of all, why do you want to do this? If you have set BLOB as your message domain in your MQInput node, and you are checking the domain immediatelty after MQInput Node, it's useless to do this checking activity.
Secondly, are you using RFH2 header to specify which domain to use. In this case, the RFH header settings will take precedence.
Thirdly, if you want to check whether the input message is XML, why are you checking for MRM domain in your Check Node? You can check it for XML domain itself.
Fourthly, have you seen that you have included correct message set and def file in your bar file?
Fifth suggestion - Please go through the Flow Debug perspective and debug your message flow carefully. This perspective is very useful in rectifying these type of problems.
I am afraid for I still coudln't comprehend the scenario where somebody has set message domain in MQInput Node and immediately wants to check which domain the message is set to.
What do you really want to achieve? Can you please give me the full details? What is your input message and how do you put it to the input queue?, etc.

I am feeling now that kspranava may be right :
Quote:
Why not check it in inputnode itself?

_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » about check node
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.