|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Significance of Message Type in MQInput Node |
« View previous topic :: View next topic » |
Author |
Message
|
newguy |
Posted: Fri Sep 01, 2006 2:22 am Post subject: Significance of Message Type in MQInput Node |
|
|
 Novice
Joined: 22 Mar 2006 Posts: 13 Location: Bangalore
|
Hi,
Im having a message set (MRM/XML) with root tag as "Message"...
and in my flow for Message Type I will be giving "Msg"..
So whats happening is, if I pass input message with root tag as "Msg" and rest content irrelevant to message definition... MRM is perfectly parsing.. But at the same time, if I pass input message with root tag "Message" and proper message as defined in the message definition, Im getting parser exception.
Can anyone tell me what is happening...
Thanks in advance...  |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 01, 2006 2:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
XML is self-defining.
The properties of the MQInput node are defaults.
If you look at the "bad" message, you will probably see that it is in the XML domain, and not the MRM domain. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
newguy |
Posted: Fri Sep 01, 2006 2:38 am Post subject: Significance of Message Type in MQInput Node |
|
|
 Novice
Joined: 22 Mar 2006 Posts: 13 Location: Bangalore
|
Hi,
But for my MQInput node,
Validation properties has been set to Content and Value, Exception and immediate..
Default properties also i have set to my requirements like MRM domain....
Thanks in advance... |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 01, 2006 3:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If the Broker can identify a message sufficiently well enough to parse it, it will parse it.
So, if a message starts with something that the broker can use to identify that a message is XML - for example "<?xml" - AND the broker hasn't otherwise found another identifier for the message - like an MQRFH2 header - then the broker will parse the message as XML. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
newguy |
Posted: Fri Sep 01, 2006 3:32 am Post subject: |
|
|
 Novice
Joined: 22 Mar 2006 Posts: 13 Location: Bangalore
|
Thanks for the information.  |
|
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
|
|
|
|