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 » Why does my subscriber need a valid Publish queue?

Post new topic  Reply to topic
 Why does my subscriber need a valid Publish queue? « View previous topic :: View next topic » 
Author Message
granthmuk
PostPosted: Mon Apr 15, 2002 7:13 am    Post subject: Reply with quote

Apprentice

Joined: 16 May 2001
Posts: 38
Location: Edinburgh, Scotland

We are currently testing use of JMS for pubsub with MQSI as the pubsub broker. It is working, but we don't understand why we need to set the BrokerPubQueue on the MQTopicConnectionFactory object, if we don't set this it does not work. By not working I mean there are no errors or exceptions but also no publications are received by the subscriber. But it also does not make much sense (not to me anyway). We are not using JNDI but assigning all attributes in the code e.g.

Code:

com.ibm.mq.jms.MQTopicConnectionFactory tcf = new com.ibm.mq.jms.MQTopicConnectionFactory();
      tcf.setTransportType(com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
      tcf.setQueueManager("QMI1");
      tcf.setBrokerQueueManager("QMI1");
      tcf.setBrokerControlQueue("SYSTEM.BROKER.CONTROL.QUEUE");
      
        tcf.setBrokerPubQueue("DEVT.PUBLISH"); // <<<<<<<<<<WHY?

Can anyone explain why this is required for a subscriber? I understand its use for a publisher.

Cheers


_________________
Grant Marshall

[ This Message was edited by: granthmuk on 2002-04-15 08:17 ]
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 » Why does my subscriber need a valid Publish queue?
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.