summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/binding-sca/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-09-14 07:23:35 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-09-14 07:23:35 +0000
commitb1dd55c287e447523231e66927e2340406a106f5 (patch)
tree59e38c935e5302cfb075f12f2105d1b6589ad97d /java/sca/modules/binding-sca/src
parent64555c5bf1b00584963c5ff3c240d61347b414b6 (diff)
Add jms classes to test if whether or not the binding-sca-jms can be used
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@695131 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/binding-sca/src')
-rw-r--r--java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/RemoteBindingHelper.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/RemoteBindingHelper.java b/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/RemoteBindingHelper.java
index 86629fb378..5ebbea62eb 100644
--- a/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/RemoteBindingHelper.java
+++ b/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/RemoteBindingHelper.java
@@ -30,6 +30,7 @@ public class RemoteBindingHelper {
static {
try {
Class.forName("org.apache.tuscany.sca.binding.sca.jms.JMSSCABindingProviderFactory");
+ Class.forName("javax.jms.IllegalStateException");
alwaysRemote = true;
} catch (ClassNotFoundException e) {
alwaysRemote = false;