|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issue in overriding MQMD MSgId with string values |
« View previous topic :: View next topic » |
Author |
Message
|
Yam |
Posted: Wed Mar 09, 2016 11:13 pm Post subject: Issue in overriding MQMD MSgId with string values |
|
|
Newbie
Joined: 09 Mar 2016 Posts: 1
|
I am facing while trying to override MQMD correlation id with string value
My flow is lik MQInput->Compute->MQOutput
When message reached MQOuput node I am facing the below exception:
Text:CHARACTER:Exception whilst writing field named
Insert
Type:INTEGER:5
Text:CHARACTER:MQMD
Insert
Type:INTEGER:5
Text:CHARACTER:MsgId
Insert
Type:INTEGER:5
Text:CHARACTER:abc
RecoverableException
File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\CommonServices\ImbValue.cpp
Line:INTEGER:978
Function:CHARACTER:ImbValue::typeError
Text:CHARACTER:Wrong type exception
Text:CHARACTER:BLOB
SUGGESTIONS PLZ |
|
Back to top |
|
 |
Esa |
Posted: Thu Mar 10, 2016 12:39 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Correlation id is a binary field, you should not try to overwrite with a string value. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 10, 2016 5:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Esa wrote: |
Correlation id is a binary field, you should not try to overwrite with a string value. |
Refer to the MQ Application Development doc for MQMD fields MsgId, CorrelId, GroupId. These are BYTE fields - and not character fields. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|