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 » Creating MQ Message Groups

Post new topic  Reply to topic
 Creating MQ Message Groups « View previous topic :: View next topic » 
Author Message
fazz
PostPosted: Fri Nov 19, 2004 1:40 am    Post subject: Creating MQ Message Groups Reply with quote

Centurion

Joined: 20 Feb 2004
Posts: 144
Location: England

Hi,

I have a requirement to create an MQ message group within a flow (2.1) from a single input message. I can set the required flags and sequence number within the MQMD, but what about the group id? I would like MQ to handle this, can I leave this blank and when the message is put MQ will fill it in? If not, can I use the UUID function as a group id?

Cheers,
Fazz
Back to top
View user's profile Send private message
JohnMetcalfe
PostPosted: Fri Nov 19, 2004 3:04 am    Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2004
Posts: 40
Location: Edinburgh, Scotland

Fazz,

I think the uuidasblob function should be suitable.

Once point to watch is that this function returns a value that is smaller than that required for a Group_Id, so you need to pad. Try:

Code:
set OutputRoot.MQMD.GroupId = uuidasblob || x'0000000000000000';


I think another option would be to set the Group Id to the Msg Id of the first message in the group.
Back to top
View user's profile Send private message
fazz
PostPosted: Fri Nov 19, 2004 3:49 am    Post subject: Reply with quote

Centurion

Joined: 20 Feb 2004
Posts: 144
Location: England

Cheers John, I like the sound of using the message id of the original input message, that will also add some kind of audit trail.

Thanks Again,
Fazz
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 » Creating MQ Message Groups
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.