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 » Java Publisher with V.B Subscriber

Post new topic  Reply to topic
 Java Publisher with V.B Subscriber « View previous topic :: View next topic » 
Author Message
abiram8
PostPosted: Sat Mar 30, 2002 11:29 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India


Hi,

Iam trying With MQ Series + MQSI (Publish-Subscribe) Where my Publisher is Java & My Subscriber is V.B

How To set the MQRFH2 Headers (Structure ) for the V.B Subscriber If Any one worked on it let
me know

Thanks R.Abiram

Back to top
View user's profile Send private message Send e-mail
MillsPerry
PostPosted: Wed Apr 03, 2002 2:41 pm    Post subject: Reply with quote

Acolyte

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

... very carefully, since strings containing binary zeros tend to break easily.

A couple of tips.
1. Use the Win32 API. MQAX200 tends to corrupt some of the
numeric fields within the RFH2 header.
2. When specifying lengths and setting positions, remember to
pad the header to a 4 byte boundary, and also the 'psc'
command.
3. Create an RFH2 UDT, fill in the fields, and then use the
CopyMemory API call to copy the structure to a byte array.
Then build the message buffer from that array a byte at a
time. This sounds like a hassle, but it's the only thing
that's worked for me.

Let me know if you need more info.

Mills Perry
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Java Publisher with V.B Subscriber
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.