ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 6 matches
Author Message
  Topic: MQPut1 XML with Delphi, receives null char at end of msg?
edwardkoo

Replies: 6
Views: 9506

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.