summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-02 09:42:30 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-02 09:42:30 +0000
commita79580f2396b2f1ff99f219a852bf301b6d77155 (patch)
tree4c9dd4c08790bedab0da9adc9342061c7f374a7a /sca-java-2.x/trunk/modules/binding-jms/src/main/java/org
parent91bee1de5ab7b97cc32c8ba1c9942823757b86a6 (diff)
Support the other jms properties in the jms uri
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981431 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jms/src/main/java/org')
-rw-r--r--sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java6
1 files changed, 6 insertions, 0 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 569f23c957..5369b81d3f 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
@@ -367,6 +367,12 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St
String s = st.nextToken();
if (s.startsWith("connectionFactoryName=")) {
jmsBinding.setConnectionFactoryName(s.substring(22));
+ } else if (s.startsWith("deliveryMode=")) {
+ jmsBinding.setJMSDeliveryMode("persistent".equals(s.substring(14)));
+ } else if (s.startsWith("priority=")) {
+ jmsBinding.setJMSPriority(Integer.parseInt(s.substring(9)));
+ } else if (s.startsWith("timeToLive=")) {
+ jmsBinding.setJMSTimeToLive(Long.parseLong(s.substring(11)));
} else {
error(monitor, "UnknownTokenInURI", jmsBinding, s, uri);
return;