diff options
author | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-08 00:18:50 +0000 |
---|---|---|
committer | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-08 00:18:50 +0000 |
commit | 1315e46609bf6beb0c275c59176c846c17b3c614 (patch) | |
tree | b1366a4d3eca86b7d384459953a6cd9774d18688 /sca-java-2.x/trunk/modules/binding-jms/src/test | |
parent | 27e3cec43d8effa06ba8710907e416539b332096 (diff) |
TUSCANY-3673 Update JMS binding model to separate out type/priority/deliveryMode/timeToLive attributes originating from the uri, operation prop headers, and headers. Also use that information in the runtime to correctly determine the value that is used when more than one is specified.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jms/src/test')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessorTestCase.java | 8 |
1 files changed, 4 insertions, 4 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 e945da22e2..c1fb89df8d 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 @@ -426,10 +426,10 @@ public class JMSBindingProcessorTestCase extends TestCase { JMSBinding binding = (JMSBinding) composite.getComponents().get(0).getServices().get(0).getBindings().get(0); assertNotNull(binding); - assertEquals("myType", binding.getJMSType()); - assertTrue(binding.isdeliveryModePersistent()); - assertEquals(54321, binding.getJMSTimeToLive().longValue()); - assertEquals(5, binding.getJMSPriority().intValue()); + assertEquals("myType", binding.getJMSHeaderType()); + assertTrue(binding.isHeaderDeliveryModePersistent()); + assertEquals(54321, binding.getJMSHeaderTimeToLive().longValue()); + assertEquals(5, binding.getJMSHeaderPriority().intValue()); } public void testProperties1() throws Exception { |