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 Java / JMS » MQ Java JMS publish with MQ C++ API subscribe

Post new topic  Reply to topic
 MQ Java JMS publish with MQ C++ API subscribe « View previous topic :: View next topic » 
Author Message
marty
PostPosted: Fri Apr 25, 2003 9:41 am    Post subject: MQ Java JMS publish with MQ C++ API subscribe Reply with quote

Newbie

Joined: 14 Apr 2003
Posts: 4

Hi,

We have clients written in C++ using the C++ MQ API and server code listening and responding using the MQ JMS API. No problems as long as we set the targetClient. Can the MQ Series pub/sub capability be used by both clients?? Specifically, we want to be able to publish to a topic using the Java JMS API and have subscribers which are using the C++ API? Is this possible? Any problems doing this? I am assuming the JMS pub/sub is built on top of the MQSeries pub/sub "under the covers".
_________________
Marty
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Apr 25, 2003 11:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes. JMS pub/sub uses the RFH2 just like 'regular' PUB/SUB, as I understand it.

Your C++ applications will have to be modified to be aware that there is an RFH2 in the message.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Fri Apr 25, 2003 11:33 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

As Jeff says, there is no problem with this, and by setting targetClient to
JMSC.MQJMS_CLIENT_NONJMS_MQ, this indicates that no MQRFH2 field is to be produced.

Vicky
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 Java / JMS » MQ Java JMS publish with MQ C++ API subscribe
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.