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 » Has anyone used publish/subscribe with the C# assemblies?

Post new topic  Reply to topic
 Has anyone used publish/subscribe with the C# assemblies? « View previous topic :: View next topic » 
Author Message
joshuak
PostPosted: Tue Oct 21, 2008 10:38 am    Post subject: Has anyone used publish/subscribe with the C# assemblies? Reply with quote

Newbie

Joined: 21 Oct 2008
Posts: 1

Hello,

Has anybody used C# with Publish / Subscribe on the 6.0 broker?

I am having difficulty determining where to put the payload for publish requests. I've looked at Redbook #246242 (page 87) and the accompanying C program (ptVehMQI.c) that demonstrates this. It looks like they copy the message payload directly after the name-> parameter heading.

How does the MQ broker know where the header ends and data begins?

string publicationRequest = @"MQPSCommand Publish
MQPSRegOpts NoReg
MQPSTopic " + pubTopic
+pubPayload;

Thanks!
-Josh
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 21, 2008 11:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I suggest you have a look at the XMS support pack. I believe it exists now also as a .net assembly
_________________
MQ & Broker admin
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 » Has anyone used publish/subscribe with the C# assemblies?
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.