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 » Using MQGet Node

Post new topic  Reply to topic
 Using MQGet Node « View previous topic :: View next topic » 
Author Message
Bharat_123
PostPosted: Tue Jan 20, 2009 3:59 pm    Post subject: Using MQGet Node Reply with quote

Acolyte

Joined: 15 Sep 2008
Posts: 58

Hello

Need your ideas to solve this problem.

I have a flow

Inputnode...>SubFlow......> MQGET...>ComputeNode....>MQoutput


In input node i am getting SOAP message with SOAP Header and Body. the IP message passed to Subflow, the subflow takes that input SOAP message and validate the user and returns true or false. Problem here is the subflow just returns true / false but i need whole inpur SOAP message nack to my main flow for futher business process.

so iused MQGet and set the properties

MQInut Name = same as the Inputnode (Please corect me if i am wrong)
Msg Domain: XMLNSC
Advance Tab
Generate Mode: Message and LocalEnvironment
Copy Message = copy Entire Message
Copy Local Env = copy entire localenvironment
Request = InputRoot.MQMD
get by Correl Id = Checked
Result Tab
OutPut Data location = OutputRoot.MQMD

When tested that i am getting followng msg every time when i debug

Text:CHARACTER:MQMD not provided
Insert
Type:INTEGER:5
Text:CHARACTER:InputRoot.MQMD



I tried for couple of hours to figure out root ccause of the problem. No clue


Please provide how to handle this kind of scenario

Thank u
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 20, 2009 4:33 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The root cause of the problem is that before you called the MQGet node, you did not construct an MQMD in what will be InputRoot.MQMD to the MQGet node.

Put an MQHeader node right before the MQGet node.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 21, 2009 3:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I'm going further and even questioning the usage of the MQGet node here.
He is trying to do an MQGet with correlationId, however there is no indication how the message with the intended correlationId will get to the queue.
Is it generated through another flow? What kicked off that other flow? How is he getting the correlationId?
Reading through his post I sense a problem trying to make the overall picture clear ...

If it is the subflow that creates the MQOutput request, why not have the subflow deal with the MQGet?


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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