Posted: Wed Apr 02, 2008 11:05 am Post subject: correlation ID
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.
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.
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