Author |
Message |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 9:03 am Subject: Re: Solution found! |
Actually, you should be doing:
rfhCodedCharSetId = MQC.MQCCSI_INHERIT;
Ahhh...thanks.
Also, why are you converting MCD, JMS & USR folders to byte arrays? They should be string (ali ... |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 8:37 am Subject: Solution found! |
rfhCodedCharSetId = MQC.MQCCSI_DEFAULT;
This was the problem. It seems 0 is not allowed here. Changing this to
rfhCodedCharSetId = 819;
works nearly perfectly...until the next bug I'll foun ... |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 8:02 am Subject: RFH2 header causes 2334 - how to debug? |
I read the original documentation, I searched in the forum (code snippet, tipps), I reverse-engineered a JMS header. All I can see is that there is no error, all values correct an on the right place. ... |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 4:15 am Subject: RFH2 header causes 2334 - how to debug? |
*what* exactly is wrong? |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 3:54 am Subject: RFH2 header causes 2334 - how to debug? |
There are differnent kind of wheels, so inventing a one can make sense...
I used the normal API because I thought (indeed still think) it would give me more and better access to MQ. E.g. wi ... |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 3:15 am Subject: RFH2 header causes 2334 - how to debug? |
Hi,
here the byte dump.
52 46 48 20 00 00 00 02 00 00 00 94 00 00 01 11
00 00 00 00 4d 51 53 54 52 20 20 20 00 00 00 00
00 00 03 33 00 00 00 20 3c 6d 63 64 3e 3c 4d 73
64 3e 6a 6d 73 5 ... |
Topic: RFH2 header causes 2334 - how to debug? |
ThomasT
Replies: 16 Views: 23088
|
Forum: IBM MQ API Support Posted: Wed Jun 17, 2009 2:13 am Subject: RFH2 header causes 2334 - how to debug? |
Hi,
I try to build a RFH2 header by myself using the Java-MQ-API (not JMS).
I got a 2334 reason code when putting the message.
I cannot see what was wrong. But the problem is, I don't know ho ... |
Topic: getting bytes ans Codepage of a Textmessage |
ThomasT
Replies: 5 Views: 6880
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 26, 2006 7:34 am Subject: getting bytes ans Codepage of a Textmessage |
Hallo!
I'll look at the MQ Classes you mentioned.
Perhaps it helps. |
Topic: getting bytes ans Codepage of a Textmessage |
ThomasT
Replies: 5 Views: 6880
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 25, 2006 3:53 am Subject: getting bytes ans Codepage of a Textmessage |
The conditions are:
Clientside: java, means jms, on different mashines (WinXP, Win2000, Unix)
Serverside: mq with xml-text as message. Textmessage.
Nothing more is really specified!
Th ... |
Topic: Codepage trouble JMSTextmessage |
ThomasT
Replies: 5 Views: 5651
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 25, 2006 1:56 am Subject: Codepage trouble JMSTextmessage |
Have you thought about checking into the BytesMessage method. Is there a readUTF() ?
You really have to look at how the putting application writes to the message and sets the message format.... Can ... |
Topic: getting bytes ans Codepage of a Textmessage |
ThomasT
Replies: 5 Views: 6880
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 25, 2006 1:53 am Subject: getting bytes ans Codepage of a Textmessage |
Hallo!
How can I get the "raw" bytes of a JMSTextmessage?
There's a method _exportBody; but I couldn't found a documentation.
How can I read the Codepage. There's a protected field an with s ... |
Topic: Codepage trouble JMSTextmessage |
ThomasT
Replies: 5 Views: 5651
|
Forum: IBM MQ Java / JMS Posted: Sun Apr 23, 2006 6:02 am Subject: Codepage trouble JMSTextmessage |
Hallo!
I have the following problem:
I receive a JMS message (MQSeries) with encoded with Codepage 850.
My Client receives/converts this to Cp1252.
In the JMSTextMessage there's an protected ... |