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 » IBM MQ API Support » AMI : set the MsgId of a message

Post new topic  Reply to topic
 AMI : set the MsgId of a message « View previous topic :: View next topic » 
Author Message
laurie
PostPosted: Mon Jul 30, 2001 7:21 am    Post subject: Reply with quote

Newbie

Joined: 29 Jul 2001
Posts: 2



[ This Message was edited by: laurie on 2001-09-17 06:24 ]
Back to top
View user's profile Send private message
kolban
PostPosted: Mon Jul 30, 2001 8:22 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Laurie, you will probably have noticed that there is a setCorrelationId method but no equiavlnet setMsgId method. I think IBM's idea is that each message should have a unique MsgID and that the CorrelationID is free for use for grouping together collections of messages or coordinating replies with corresponding requests.

Can I ask, why do you need to set the MsgID and not the CorrelationID?
Back to top
View user's profile Send private message
bduncan
PostPosted: Mon Jul 30, 2001 9:11 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

We are currently in the process of rewriting an OS/390 COBOL application that was written 5 years ago before MQ for MVS supported logical message groups. The guys who did the original design decided to group messages together by giving them the same MsgId AND CorrelId (don't ask me why). Needless to say this has caused us countless problems because the MsgId is not unique for every message. I would highly advise staying away from any application design that called for creating multiple messages with the same MsgId. I am actually glad to hear that IBM placed this restriction on the AMI interface....


_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
royr
PostPosted: Sun Aug 05, 2001 1:47 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jun 2001
Posts: 65
Location: Israel

Laurie, I think you could use a policy handler to do that. It's a new feature introduced in AMI v1.2.
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 » IBM MQ API Support » AMI : set the MsgId of a message
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.