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 » WebSphere Message Broker (ACE) Support » Publish-Subscribe with V.B

Post new topic  Reply to topic
 Publish-Subscribe with V.B « View previous topic :: View next topic » 
Author Message
abiram8
PostPosted: Mon Apr 22, 2002 10:14 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

we are working with MQSeries 5.2 & MQSI2.1 using publish-subscribe in the Windows-NT using V.B application

I get the junk value with the message after the MQRFH2 Header as shown below
Junk value is(¬í ur [B¬óøTà xp ª)



¬í ur [B¬óøTà xp ª<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
<req chnl="0009" code="1020">
<rec>
<rl001>004000005</rl001>
</rec>
</req>
</root>
¬í ur [B¬óøTà xp ª<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
<req chnl="0009" code="1020">
<rec>
<rl001>004000005</rl001>
</rec>
</req>
</root>

If some one solved this type of problem please let me know

Thanks
R.Abiram


Back to top
View user's profile Send private message Send e-mail
vedbhat
PostPosted: Tue Apr 23, 2002 1:25 am    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

We had encountered similar problem due to the wrong structure size. Please check your header size calculations and you should be able to solve it.

We used C instead of VB but shouldn't be a problem.

Regards
Ved
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
MillsPerry
PostPosted: Wed Apr 24, 2002 12:34 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Oct 2001
Posts: 59
Location: ZyQuest, inc.

I have also experienced junk and data corruption in my RFH2 headers. Here are a couple of strategies that helped me to overcome it.

1. Avoid the MQAX200 interface and stick to the Win32 API calls.
They seem to treat the RFH2 headers better.

2. Remember to respect the 4-byte alignment requirements for the
RFH2 header and the PSC message.
Back to top
View user's profile Send private message Send e-mail
vedbhat
PostPosted: Wed Apr 24, 2002 7:10 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

Yes, Remember the 4-byte alignment as mentioned by MillsPerry.

Regards
Ved

_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Publish-Subscribe with V.B
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.