Hi,
Is it valid to create a durable subscriber and a topic publisher on the same Session / Connection? The code sequence is as follows:
connect = tcf.createTopicConnection(username, passwd);
connect.setClientID(clientID);
session = connect.createTopicSession(false,javax.jms.Session.AUTO_ACKNOWLEDGE);
topicSubscriber = session.createDurableSubscriber(rawTopic,clientID, messageSelector, false );
topicPublisher = session.createPublisher(eventsTopic);
connect.start ();
Thanks
NBirch
I do this with queue and it works. What's your problem?
Regards,
Stephane