Author |
Message |
Topic: MQPut1 XML with Delphi, receives null char at end of msg? |
edwardkoo
Replies: 6 Views: 9506
|
Forum: IBM MQ API Support Posted: Wed Jan 27, 2010 7:33 pm Subject: MQPut1 XML with Delphi, receives null char at end of msg? |
Hi Vitor,
Right now they can receive full msg except the end of msg contains #0 which their XML parser raise exception. Seems overkill to construct a RFH msg
to get rid of that #0...
I think i ... |
Topic: MQPut1 XML with Delphi, receives null char at end of msg? |
edwardkoo
Replies: 6 Views: 9506
|
Forum: IBM MQ API Support Posted: Mon Jan 25, 2010 6:16 am Subject: MQPut1 XML with Delphi, receives null char at end of msg? |
Try switching the PChar to a normal Delphi string, see if that changes.
MQPUT1 should not be affecting the buffer at all.
Hi jeff,
The parameter for Delphi MQPUT1 is of type Buffer:PChar and ... |
Topic: MQPut1 XML with Delphi, receives null char at end of msg? |
edwardkoo
Replies: 6 Views: 9506
|
Forum: IBM MQ API Support Posted: Mon Jan 25, 2010 2:03 am Subject: MQPut1 XML with Delphi, receives null char at end of msg? |
Hi,
I use MQPUT1 in my Delphi app to send XML messages to an MQ receiver managed by my customer. They received my message but encountered XML parser error and after some checking they found my mess ... |
Topic: MQGET with Delphi only receive RFH? |
edwardkoo
Replies: 5 Views: 8127
|
Forum: IBM MQ API Support Posted: Wed Jan 20, 2010 6:50 pm Subject: MQGET with Delphi only receive RFH? |
Hi guys,
I added this param
MsgDesc.Format := MQFMT_STRING;
and i receive only the content message without RFH header now.
Thanks. |
Topic: MQGET with Delphi only receive RFH? |
edwardkoo
Replies: 5 Views: 8127
|
Forum: IBM MQ API Support Posted: Tue Jan 19, 2010 10:25 pm Subject: MQGET with Delphi only receive RFH? |
Hi zonko,
You're right. Received complete msg of
RFH ˜ ¸ ¸ <mcd><Msd>jms_bytes</Msd></mcd> L<jms><Dst>queue:///TESTQ2</ ... |
Topic: MQGET with Delphi only receive RFH? |
edwardkoo
Replies: 5 Views: 8127
|
Forum: IBM MQ API Support Posted: Tue Jan 19, 2010 3:06 am Subject: MQGET with Delphi only receive RFH? |
Hi,
I am using Delphi to create an app that retrieve message from MQ server.
After call MQGET my app always only received a single RFH word. How do i get the complete message?
Following is the ... |