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 » IBM MQ API Support » Reading RFH2 Header

Post new topic  Reply to topic
 Reading RFH2 Header « View previous topic :: View next topic » 
Author Message
ask5
PostPosted: Thu Aug 17, 2006 1:15 pm    Post subject: Reading RFH2 Header Reply with quote

Newbie

Joined: 17 Aug 2006
Posts: 3

I am using VB.Net 1.1 to Read a message from MQ. MQ Client is V 5.3
The Message format is RFH2.

My problem is, I dont get the full message when I do

Dim StrReturn as String
StrReturn = ResponseMessage.ReadString(ResponseMessage.MessageLength)

the message seems to be truncated after first 3 characters.
whereas I get correct ResponseMessage.MessageLength = 1024


Can anyone tell me where I am going wrong.
Is there any article which tells How to Read RFH2 message in VB.NET

any help is appriciated

AK
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Aug 17, 2006 1:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

There is a way to suppress RFH2 header for non-JMS clients by setting the targetClient property and also there are some other ways too.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ask5
PostPosted: Thu Aug 17, 2006 1:43 pm    Post subject: Reply with quote

Newbie

Joined: 17 Aug 2006
Posts: 3

Thanks for the Reply,

Are talking about setting targetClient at the application which is putting message with RFH2 header on MQ?

what are the other ways?
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Aug 17, 2006 2:15 pm    Post subject: Re: Reading RFH2 Header Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

ask5 wrote:
The Message format is RFH2.

Tell us a bit more about how and where the RFH2 messages originate - is it in an MQ JMS program? Could be that the best route for your needs is to look at XMS for .NET ... see http://www.ibm.com/support/docview.wss?rs=171&uid=swg24011756 for more details.
Back to top
View user's profile Send private message
ask5
PostPosted: Fri Aug 18, 2006 5:43 am    Post subject: Reply with quote

Newbie

Joined: 17 Aug 2006
Posts: 3

is it possible using MQ V 5.3?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 18, 2006 6:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ask5 wrote:
is it possible using MQ V 5.3?


MQRFH2 headers have been supported since at least v5.1, and probably v5.0.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Reading RFH2 Header
Jump to:  



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
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.