diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-06 10:55:48 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-06 10:55:48 +0000 |
commit | bb5a6f2b366f11f6c93823ffecc88110b5d8775b (patch) | |
tree | f1bfe6280a42cd20cb969038e648a797e23c0830 /sca-java-2.x/trunk | |
parent | 50f75d383fcc52d8f47e16f3a26a85e70351f8e9 (diff) |
Correct jms uri connection fatory attribute
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1004985 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java index 5cbfbefdb1..e40a16f9a5 100644 --- a/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java @@ -368,8 +368,8 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St StringTokenizer st = new StringTokenizer(uri.substring(i+1),"&"); while (st.hasMoreTokens()) { String s = st.nextToken(); - if (s.startsWith("connectionFactoryName=")) { - jmsBinding.setConnectionFactoryName(s.substring(22)); + if (s.startsWith("jndiConnectionFactoryName=")) { + jmsBinding.setConnectionFactoryName(s.substring(26)); } else if (s.startsWith("deliveryMode=")) { jmsBinding.setURIJMSDeliveryMode("persistent".equals(s.substring(13))); } else if (s.startsWith("priority=")) { |