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 » How to match Corelation Id

Post new topic  Reply to topic
 How to match Corelation Id « View previous topic :: View next topic » 
Author Message
Yash
PostPosted: Wed Nov 06, 2002 6:37 am    Post subject: How to match Corelation Id Reply with quote

Novice

Joined: 26 Sep 2002
Posts: 24

Hai,

I am trying to match the message Id and corelation Id of the message in the input node of the message flow. But the problem I have is the application is sending different message Id and Corelation Id for each message it is sending.Can anyone explain me how this exactly works.


Thanks,
_________________
Yash
Back to top
View user's profile Send private message
Yanghui
PostPosted: Wed Nov 06, 2002 8:30 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

Hi, there,

I don't quite understand what you want to do.

Two points.

A. If the user ID the application running on has enough authority, the app can use one msgID and CorrID for all the msgs it sends out. Then your msgflow can check the two fields against the values you preagree with the app. It's doable but just a bit unusual.

B. If each msg carrys unique msgID, then msgflow has to get the value of the msgID somewhere outside of msgflow beforehand.

-Yanghui
Back to top
View user's profile Send private message Send e-mail
Yash
PostPosted: Wed Nov 06, 2002 8:56 am    Post subject: Reply with quote

Novice

Joined: 26 Sep 2002
Posts: 24

Thanks Yanghui.

What I am trying to say is the application sends the message with messageId and Corelation Id. But the problem is for each message the messageId and Corelation Id are unique.So how can I set the Corelation Id and Message Id in Control Center.

Thanks,
_________________
Yash
Back to top
View user's profile Send private message
Yanghui
PostPosted: Wed Nov 06, 2002 10:00 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

New MsgId or new CorrId or both of them can be assigned to a msg on the MQOutput before it's sent on queue. This can gurantee msgId or CorrId unique ability.

Hope this is what you are looking for.

-Yanghui
Back to top
View user's profile Send private message Send e-mail
Yash
PostPosted: Wed Nov 06, 2002 2:05 pm    Post subject: Reply with quote

Novice

Joined: 26 Sep 2002
Posts: 24

Yanghui,

I don't want to assign a correlation Id or Message Id values to the message in the MessageFlow. I want to take a message from the queue only if the corelation Id value or Message Id value is matched in the input node. But the application which is sending the message that is giving different massageId and corelation Id each time, so how can I give a exact value to match in the input node.

Thanks,
_________________
Yash
Back to top
View user's profile Send private message
muralihegde
PostPosted: Wed Nov 06, 2002 9:59 pm    Post subject: Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi Yash,
You are right. It is not advisable to use the match MsgId option in the MQInput Node, because it will add a constraint to the sending application that the msgId should always be the same for all the messages.
This might not be desirable, because sometimes, the Queue Manager will give error during MQPUT call if the two message Ids are same. Also it is desirable to have the MsgIds unique in the MQ Domain.
But you might want to use the correlation Id for the above purpose. You might set the corrId to a pre-defined value in your sending application (let MsgId be self generated) and use this value in the MQSI MQInput Node.

But I am wondering why do you want to use the abvoe option looking for a particular MsgId or Corr Id within MQSI? If your purpose is to match the reply to a previous response, then You might want to explore the possibility of using Aggregation Nodes within your message flows.

-Hope this helps..
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to match Corelation Id
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.