Author |
Message
|
elvis_gn |
Posted: Mon Jun 12, 2006 3:59 am Post subject: Re: MQGet Node |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi rajasri,
rajasri wrote: |
So what u meant to say is if we set the properties of the MQGet node, then thr is no need to set the properties in the ESQL and specify the location of Input Params. Ami right? |
Yes, if u are setting anything in the ESQL that will take precedence over what u set in the node...for example if in the node u have set pick me correlId and in the parameters u set pick by messageId, then the pick will be by msgId.
rajasri wrote: |
But my flow also goes to failure terminal , according to you, it shd go only when thr is parsing kind of error. What if thr is no msg with corr id of that of input message?. Which terminal shd it go? |
Then it will timeout and the inputMessage should go to the noMessage terminal.
Is it working now ?
Regrads. |
|
Back to top |
|
 |
rajasri |
Posted: Mon Jun 12, 2006 4:06 am Post subject: MQGet node |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Hi Elvis, It is not going to NO Message terminal. It is going to failure terminal. And the rror is like this
'Failed to find result data location. Location specified was: '&1'.'.. Iam searchin for an element called NXGENMsgHeader in the MQRFH2 header of the message in the cache queue. Even if thr is no single message , it is going to failure terminal. I want it to go to No Msg terminal. How to achieve tht? |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Jun 12, 2006 4:24 am Post subject: Re: MQGet node |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi rajasri,
rajasri wrote: |
'Failed to find result data location. Location specified was: '&1'.'.. Iam searchin for an element called NXGENMsgHeader in the MQRFH2 header of the message in the cache queue. |
I hope u have specified ResultRoot.MQRFH2.NXGENMsgHeader in the Result Data Location.
rajasri wrote: |
Even if thr is no single message , it is going to failure terminal. I want it to go to No Msg terminal. How to achieve tht? |
Hmm...that would be weird...are u sure it is going to failure from the MQGet node or from somewhere else....connect a trace to the failure terminal and take a file trace.
Regards. |
|
Back to top |
|
 |
rajasri |
Posted: Mon Jun 12, 2006 4:31 am Post subject: MQget node |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Yes Elvis, my flow is working fine if thr is a Msg with a corr id same as tht of input's. But if thr is no correct msg in Cache Q, it is going to failure terminal. I expect it to go to NO Message Terminal. Yes i have attached a Trace node. Nothing seems working. |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Jun 12, 2006 4:51 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi rajasri,
Use the debugger and go through the ExceptionList at the failure terminal....I will not be able to predict why thisis happening, but i feel u should clear ur Cache queue...perhaps old transaction messages are lying there and are being picked...Failure should have occured ONLY when an attempt to pick a message successfully failed...
Why is a trace not working ?
Regards. |
|
Back to top |
|
 |
rajasri |
Posted: Mon Jun 12, 2006 5:51 am Post subject: MQGet node |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Hi elvis, i dint mean that Trace is not working. Thr are no msgs in cache queue. its queue depth is 0. when i run my flow, it shd go to No msg terminal,which is not happening. Some one help me out plzzzz |
|
Back to top |
|
 |
rajasri |
Posted: Mon Jun 12, 2006 5:55 am Post subject: MQGet node |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
i even create a small msg flow including MQGet node. even in this , flow is going to failure terminal. it is not going to nO MSG terminal.I get the folloeing error
F:\build\S000_P\src\DataFlowEngine\ImbMqGetNode.cpp'
(0x03000000):Line = 1437
(0x03000000):Function = 'ImbMqGetNode::finalProcess'
(0x03000000):Type = 'ComIbmMQGetNode'
(0x03000000):Name = 'testmqgetnode#FCMComposite_1_4'
(0x03000000):Label = 'testmqgetnode.MQGet'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 4631
(0x03000000):Text = 'Failed to find result data location. Location specified was: '&1'.'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'ResultRoot.XML.Header'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Result Data Location'
i know iam doing some fundamental mistake,but not able to find that. Need help from ne one |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Jun 12, 2006 6:00 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi rajasri,
We need to find out WHY it is going to the failure...if you fix that it will start coming to the noMessage terminal.
It is too late in the day to debug ur flow...u can send it to me tomorrow if thats ok, will have a look at it.
Regards. |
|
Back to top |
|
 |
rajasri |
Posted: Mon Jun 12, 2006 6:43 pm Post subject: MQGet node |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Hi Elvis, I have a doubt. The values Domain, Msg type... .. are they the values related to the incoming message or the message retrieved from the cache queue. i gave the value as XML thinking that it will parse the msg from cache queue. actually msgs in cache queue will not have any body i.e it will have only MQRFh2 header,they have data in the MQFH2 header and the incoming message will have a domain MRM. so what value shd i give in the Domain. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 13, 2006 2:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Apply the latest FPs. I've heard of other people having this problem because the FPs didn't install completely properly. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nmaddisetti |
Posted: Wed Jun 14, 2006 3:54 am Post subject: |
|
|
Centurion
Joined: 06 Oct 2004 Posts: 145
|
Hi,
Dont specify any thing in Result Data Location
then control will go through NoMessage if message is not there on the cache queue with CorrelationId as MessageId of ur message . |
|
Back to top |
|
 |
|