summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-01-13 16:12:28 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-01-13 16:12:28 +0000
commitf202e75d542a2ceec4855e2b6352193ac9ce0662 (patch)
tree76e55d621e965eda34d196c4c72d87325b0d13d5 /qpid/java/systests/src
parent07c72937724f42424bfba7c9a1958bf4b5de59d8 (diff)
downloadqpid-python-f202e75d542a2ceec4855e2b6352193ac9ce0662.tar.gz
This is related to QPID-1572.
The SSL test profile runs the java client against the C++ broker using SSL connections git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests/src')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
index 085578c13d..d0bb265a0c 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
@@ -518,7 +518,14 @@ public class QpidTestCase extends TestCase
_logger.info("get ConnectionFactory");
if (_connectionFactory == null)
{
- _connectionFactory = getConnectionFactory("default");
+ if (Boolean.getBoolean("profile.use_ssl"))
+ {
+ _connectionFactory = getConnectionFactory("ssl");
+ }
+ else
+ {
+ _connectionFactory = getConnectionFactory("default");
+ }
}
return _connectionFactory;
}