You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2015/01/15 17:35:34 UTC
[5/5] qpid-jms git commit: create a regular Connection
create a regular Connection
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/042aaff2
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/042aaff2
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/042aaff2
Branch: refs/heads/master
Commit: 042aaff2e0029e3bb23b3adade51d07ef5806e34
Parents: 9a3d77b
Author: Robert Gemmell <ro...@apache.org>
Authored: Thu Jan 15 11:35:06 2015 +0000
Committer: Robert Gemmell <ro...@apache.org>
Committed: Thu Jan 15 16:35:08 2015 +0000
----------------------------------------------------------------------
.../java/org/apache/qpid/jms/session/JmsSessionClosedTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/042aaff2/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/session/JmsSessionClosedTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/session/JmsSessionClosedTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/session/JmsSessionClosedTest.java
index 9e233f9..1d40e41 100644
--- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/session/JmsSessionClosedTest.java
+++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/session/JmsSessionClosedTest.java
@@ -27,7 +27,7 @@ import org.junit.Before;
import org.junit.Test;
/**
- * Tests behaviour after a QueueSession is closed.
+ * Tests behaviour after a Session is closed.
*/
public class JmsSessionClosedTest extends AmqpTestSupport {
@@ -37,7 +37,7 @@ public class JmsSessionClosedTest extends AmqpTestSupport {
protected void createAndCloseSession() throws Exception {
JmsConnectionFactory factory = new JmsConnectionFactory(getBrokerAmqpConnectionURI());
- connection = factory.createQueueConnection();
+ connection = factory.createConnection();
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
Queue destination = session.createQueue(name.getMethodName());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org