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");
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