View | Details | Raw Unified | Return to bug 47870
Collapse All | Expand All

(-)src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java (-2 / +2 lines)
Lines 84-91 Link Here
84
                ConnectionFactory.getTopicConnectionFactory(ctx,connfactory);
84
                ConnectionFactory.getTopicConnectionFactory(ctx,connfactory);
85
                _conn = ConnectionFactory.getTopicConnection();
85
                _conn = ConnectionFactory.getTopicConnection();
86
                _topic = InitialContextFactory.lookupTopic(ctx, topic);
86
                _topic = InitialContextFactory.lookupTopic(ctx, topic);
87
                _session = this.CONN.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);
87
                _session = _conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);
88
                _subscriber = this.SESSION.createSubscriber(this.TOPIC);
88
                _subscriber = _session.createSubscriber(this.TOPIC);
89
                log.info("created the topic connection successfully");
89
                log.info("created the topic connection successfully");
90
            } catch (JMSException e) {
90
            } catch (JMSException e) {
91
                log.error("Connection error: " + e.getMessage());
91
                log.error("Connection error: " + e.getMessage());

Return to bug 47870