summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-23 16:06:51 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-23 16:06:51 +0000
commitdd2d1c57c26f0d5ef78518549634886e6a1ea92f (patch)
tree2219adff2ff5632123f32f9410bd6866f342985f /sca-java-2.x/trunk
parent6182b8970374659c9c8bd5d9f585cb33773ec5ba (diff)
TUSCANY-3099 - the change is already ported from 1.x to 2.x but this small test change ensures that the changed code is exercised. Without the change the error condition related to the jms uri rather than the header priority.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1292837 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/test/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessorTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessorTestCase.java b/sca-java-2.x/trunk/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessorTestCase.java
index c1fb89df8d..652630432e 100644
--- a/sca-java-2.x/trunk/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessorTestCase.java
+++ b/sca-java-2.x/trunk/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessorTestCase.java
@@ -64,7 +64,7 @@ public class JMSBindingProcessorTestCase extends TestCase {
+ " <component name=\"HelloWorldComponent\">"
+ " <implementation.java class=\"services.HelloWorld\"/>"
+ " <service name=\"HelloWorldService\">"
- + " <binding.jms uri=\"jms:testQueue\" >"
+ + " <binding.jms uri=\"jms:queue:testQueue\" >"
+ " <headers type=\"myType\" deliveryMode=\"persistent\" timeToLive=\"54321\" priority=\"5\">"
+ " </headers>"
+ " </binding.jms>"
@@ -78,7 +78,7 @@ public class JMSBindingProcessorTestCase extends TestCase {
+ " <component name=\"HelloWorldComponent\">"
+ " <implementation.java class=\"services.HelloWorld\"/>"
+ " <service name=\"HelloWorldService\">"
- + " <binding.jms uri=\"jms:testQueue\" >"
+ + " <binding.jms uri=\"jms:queue:testQueue\" >"
+ " <headers type=\"myType\" deliveryMode=\"persistent\" timeToLive=\"54321\" priority=\"medium\">"
+ " </headers>"
+ " </binding.jms>"