TopicRequestor(TopicSession session, Topic topic) throws JMSException { this.session = session; this.topic = topic; tempTopic = session.createTemporaryTopic(); publisher = session.createPublisher(topic); subscriber = session.createSubscriber(tempTopic);
public TopicRequestor(TopicSession session, Topic topic) throws JMSException { super(); setSession(session); setTopic(topic); setTemporaryTopic(session.createTemporaryTopic()); setPublisher(session.createPublisher(topic)); setSubscriber(session.createSubscriber(getTemporaryTopic()));
            TopicRequestor(TopicSession session, Topic topic) throws JMSException {        this.session = session;        this.topic = topic;        tempTopic = session.createTemporaryTopic();        publisher = session.createPublisher(topic);        subscriber = session.createSubscriber(tempTopic);    }