|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQGet node & generate new Message ID -[color=green] Solv |
« View previous topic :: View next topic » |
Author |
Message
|
kirankinnu |
Posted: Fri Aug 17, 2007 6:00 am Post subject: MQGet node & generate new Message ID -[color=green] Solv |
|
|
 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 |
|
 |
elvis_gn |
Posted: Fri Aug 17, 2007 9:25 am Post subject: |
|
|
 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 |
|
 |
mymq |
Posted: Sat Aug 18, 2007 7:14 pm Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Mon Aug 20, 2007 2:28 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|