This doesnt look like a message from MQ / XMS, more from the application
.
Am recieving this exception when i consume a message from Q
From the Point of Orgination the message gets processed through some intermediate queue and in the process its adds additional information
and finally reaches a destination queue and that Q is the source for me to consume the messages.
Quote:
Java or JMS? Able to do what? Does it do the same as the code which is generating that message?
.
API provided by IBM Webspher MQ for JAVA
Quote:
What *exactly* is the app doing when it detects the error?
Consuming the message from Q
Quote:
I would concur with an earlier poster - it sounds like someone has put the correlid into a string as its binary value, and that you are asking for trouble anyway.
Will try to speak with the team about the correlid
its always consumer has to take the trouble in integrating the application
Last edited by sretsea_12 on Sat Dec 24, 2011 9:12 am; edited 1 time in total
Appended how? There are other bits of the RFH2 header that need to change when "appending" NameValueData, so that it's interpreted as part of the RFH2 header, rather than the message body.
I was told information shall be processed by other enterprise application
and the same is begin consumed from the Q by many other enterprise applications
In short same information is distributed among all the application after processing is done.
The point is this: You are inserting raw binary data into an XML document.
That immediately makes the XML document invalid. XML is a text-only format.
So you are creating a completely invalid XML document.
In order to create a valid XML document, you must take steps to convert any raw binary content into a text representation - for example a hex string of the bytes is a typical way to represent an MQ message or correlation ID - or doing a base64 conversion is a typical way to preserve binary content in an XML document.
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