Author |
Message
|
manoj5007 |
Posted: Wed May 11, 2016 8:44 pm Post subject: Strange issue with MQRFH2 |
|
|
 Acolyte
Joined: 15 May 2013 Posts: 64
|
Hi
I have the message flow as below:
FileInput-->Compute Node 1 (Sets MQMD and MQRFH2 with usr details) --> Compute Node 2(Transformation to XML)--> Compute node 3 (Set Topic) Publication Node.
Problem:
When the message under MRM domain is sent of ComputNode 1, the Root contains Properties, MQMD, MQRFH2 and MRM details. MQRFH2 has the usr and mcd folders.
Now, when the message is being sent of COmpute node 2 where the MQRFH2 isn't altered but copyMessageHeaders function alone has been used, the root out of COmpute Node 2 contains Properties, MQMD, MQRFH2 and XMLNSC but the MQRFH2 has psc folder created with two topic fields created.
What could be the reason for such a behaviour? Does compute node verify the MQRFH2 headers and does modifications on its own on the message being passed to out terminal?
FYI: THe validation is set to none in the comput nodes |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu May 12, 2016 2:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Verify the content of the copyMessageHeaders in your Compute node 2.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mayheminMQ |
Posted: Fri May 13, 2016 1:12 am Post subject: |
|
|
 Voyager
Joined: 04 Sep 2012 Posts: 77 Location: UK beyond the meadows of RocknRoll
|
I have always assumed that when Header input tree contains few values and copied through compute node, the header output tree contains all the fields by default even if you did not create them. Its not necessary for this to be a input to output tree copy as it is also valid in the instance where you only set 1 field say in http response header and when the message comes out of the esql node, the httpresponse header will have all the fields(without any value of corz) irrespective of the few set in the node.
After thought: Since MQRFH2 is creating psc folder for topics, I am gonna assume it is MQ version < 7 as Topic are part of properties folder since MQ 7. _________________ A Colorblind man may appear disadvantaged but he always sees more than just colors... |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 13, 2016 1:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mayheminMQ wrote: |
After thought: Since MQRFH2 is creating psc folder for topics, I am gonna assume it is MQ version < 7 as Topic are part of properties folder since MQ 7. |
???
I don't think so. Topic has never been part of the properties folder. Even if you do use Properties_in_Handle. You'll see that RFHUtil has separate folders for user properties and psc stuff, even when not using an RFH header.
AFAIK there are only 2 versions of the RFH.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mayheminMQ |
Posted: Fri May 13, 2016 2:20 am Post subject: |
|
|
 Voyager
Joined: 04 Sep 2012 Posts: 77 Location: UK beyond the meadows of RocknRoll
|
|
Back to top |
|
 |
manoj5007 |
Posted: Fri May 13, 2016 6:26 pm Post subject: |
|
|
 Acolyte
Joined: 15 May 2013 Posts: 64
|
Why would the compute node create two Topics under psc folders?
Still not able to understand the fact...
And my question is if compute node does create the default folders, the same should have been created when the message is propagated out of compute node 1[/code] |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 16, 2016 5:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
manoj5007 wrote: |
Why would the compute node create two Topics under psc folders? |
Because that's what the ESQL does.
We'd have to see the ESQL to give you any better idea of where it chooses to do that. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|