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 » General IBM MQ Support » Defining values for MsgId and CorrelId by the application?

Post new topic  Reply to topic
 Defining values for MsgId and CorrelId by the application? « View previous topic :: View next topic » 
Author Message
KAKEZ
PostPosted: Wed Oct 30, 2002 11:28 pm    Post subject: Defining values for MsgId and CorrelId by the application? Reply with quote

Centurion

Joined: 10 Oct 2002
Posts: 117

Hi,

We intend to define MsgId and CorrelId values by the application itself as string of 16 characters.
- is that possible?
- is each field (MQBYTE24) padded with some caracter (blank, null,...) that we have to treat?
- are we sure to get exactly these 16 characters at the receiving application to be able to recognize the message testing the MsgId or CorrelId field?

Thanks
Back to top
View user's profile Send private message
cronydude
PostPosted: Thu Oct 31, 2002 12:24 am    Post subject: Reply with quote

Voyager

Joined: 11 Nov 2001
Posts: 85
Location: US

yeah it is possible...convert the required string to bytes and assign to the messageId attribute of the message.this can be retrieved as it is by the receiving application.
_________________
Regs,
crony
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Thu Oct 31, 2002 1:27 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

The message id and correlid are not changed in any way so will not undergo code page conversion and you must use the same padding character when extending your 16 bytes to 24 bytes.
_________________
Bob Buxton
Ex-Websphere MQ Development
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 » General IBM MQ Support » Defining values for MsgId and CorrelId by the application?
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.