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 & generate new Message ID -[color=green] Solv

Post new topic  Reply to topic
 MQGet node & generate new Message ID -[color=green] Solv « View previous topic :: View next topic » 
Author Message
kirankinnu
PostPosted: Fri Aug 17, 2007 6:00 am    Post subject: MQGet node & generate new Message ID -[color=green] Solv Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

I have a question regarding the design of Message flow.
Here is what I am doing right now
MQinput--->Compute(propagate multiple Req Msgs)---->MQOutPut(SAPRequestQueue)--->MQGet(SAPResponseQueue)

The input message that I am recieving is a Large message which has multiple requests. I am propagating one request at a time to the SAP Request Queue. And I am recieving the response messages on the SAP Response Queue by CorrelationId. The issue is I am passing the same message Id for all the requests. How do I generate a new message Id for each request. Even If I set the (new Message Id) on the MQOutput(SAPRequestQueue) how Do I get this new Message ID to copy to Correlation Id. I hope my question is clear.

I have to get the new Message Id from the localEnvironment Variables
Thanks,
Kiran
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Aug 17, 2007 9:25 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi kirankinnu,

You are sending out multiple requests...how are you fetching back the multiple responses ? Using the same MQGet node in a loop ?

If you are collating them all, then why are you so bothered about the Ids ? One Id should do right ? Can you please explain your requirement after you get the responses ?

Regards.
Back to top
View user's profile Send private message Send e-mail
mymq
PostPosted: Sat Aug 18, 2007 7:14 pm    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2007
Posts: 101
Location: US-Greenwille

Yes, if you give your requirment we can suggest better way of doing so.

Anyway, you can generate your own random unique number (may be some part of your message ID + time stamp) and set it.
_________________
--SRK--
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Mon Aug 20, 2007 2:28 pm    Post subject: Reply with quote

Jedi

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

I'm sure this has been answered before on the Forum, so perhaps you can search for it.

From memory, it goes something like this: In the MQOutput node, you would set the Property to generate a new MsgID. Then build an MQMD that has the CorrelID specified, from the MsgID you just generated, and use the Properties on the MQGet, to specify that it should use that MQMD to perform the GET.

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
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 & generate new Message ID -[color=green] Solv
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.