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 » MQGet Node http request/response

Post new topic  Reply to topic
 MQGet Node http request/response « View previous topic :: View next topic » 
Author Message
anpati1
PostPosted: Tue Dec 18, 2007 8:46 am    Post subject: MQGet Node http request/response Reply with quote

Novice

Joined: 07 Jun 2007
Posts: 24
Location: Marlow, UK

My Message flow is as below
HTTPInput>>Compute1>>MQOutput(q1)>>Compute2>>(q2)MQGet>>Compute3>>HTTPReply

1. I have checked Generate new message Id while I put the message in q1
2. There is an external MQ application that takes input from q1 and puts data on q2
3. In compute2 node I use the written destination>>> msgID to populate MQMD folder in the localenvironment for use by the MQGet Request property.
4. In the MQGet node Request property, I checked get by msg ID
5. The MQGet is not picking up the message from q2 based on the supplied msgid.
Also I set the wait interval to 0 (I assume that means wait indefinitely for the message to arrive)

I have referred to the documentation and posts but still unable to find a solution

Please can you help?

Thanks in advance
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 18, 2007 8:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You have the wrong transactionality on your MQOutput node.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
anpati1
PostPosted: Tue Dec 18, 2007 9:01 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2007
Posts: 24
Location: Marlow, UK

Hi,

I meant New Message ID in the advanced option for MQOutput Node. Is that what you are referring to "Transactionality"?
Back to top
View user's profile Send private message
anpati1
PostPosted: Tue Dec 18, 2007 9:13 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2007
Posts: 24
Location: Marlow, UK

I set the Transaction mode to yes and still MQGet does not pickup any message
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Dec 18, 2007 9:43 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

anpati1 wrote:
I set the Transaction mode to yes and still MQGet does not pickup any message

Which means that the message is not committed until the transaction is complete, regardless. I think you need "no" in order that the message is available to the external application.

Also, the normal pattern, is that the external application takes the MessageID, and copies it to the CorrelationID, which is where you would "match", not MessageID, as that application should generate a new MessageID.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 18, 2007 2:38 pm    Post subject: Reply with quote

Grand High Poobah

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

anpati1 wrote:
3. In compute2 node I use the written destination>>> msgID to populate MQMD folder in the localenvironment for use by the MQGet Request property.
4. In the MQGet node Request property, I checked get by msg ID

EddieA wrote:
Also, the normal pattern, is that the external application takes the MessageID, and copies it to the CorrelationID, which is where you would "match", not MessageID, as that application should generate a new MessageID.


So that would mean either generating a new correlid on the output node and passing that to the correlid on the MQMD with get by correlid,
or making sure the correlid is MQCI_NONE/MQMI_NONE and passing the messageid to the correlid on the MQMD and doing a get by correlid.

Of course your server app might work differently. A good way to find out is to debug and check exactly (with rfhutil?) what values were sent and what values were returned.

Also make sure that transaction mode is set to NO on the MQOutput node...

_________________
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 » MQGet Node http request/response
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.