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 » correlation ID

Post new topic  Reply to topic
 correlation ID « View previous topic :: View next topic » 
Author Message
rpm08
PostPosted: Wed Apr 02, 2008 11:05 am    Post subject: correlation ID Reply with quote

Newbie

Joined: 02 Apr 2008
Posts: 5

hi all

I am using c#.net to send message on mqseries.

i am sending message with correlation id. where i am getting error for correlation id.

if i am sending correlation id more than 12 char its giving me error as:
"Destination array was not long enough. check destIndex and length, and the array's lower bounds"

if i am sending correlation id upto 12 char(ABCDEFGHIJKL)and when i am checking the same on message property of mqserver.
correlation identifier: shows me only first char i.e."A"
correlation identifier bytes: shows me hexadecimal values of all 12 char.

i am new to MQ series. plz help me.
i want to pass correlation id upto 24 char's long.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 02, 2008 11:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to understand the difference between bytes and characters.

You need to understand the difference between variable length fields and fixed length fields.

These things are usually taught in basic programming classes.

Please do not use MQMD field for business level information - file names or application routing information or etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Apr 02, 2008 11:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Why don't you just let WMQ create the correlation id on its own?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » correlation 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.