tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r682612 - in /tuscany/java/sca/modules/binding-jms/src: main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
Date Tue, 05 Aug 2008 07:42:09 GMT
Author: antelder
Date: Tue Aug  5 00:42:09 2008
New Revision: 682612

URL: http://svn.apache.org/viewvc?rev=682612&view=rev
Log:
Correct typo in correlation id name (ends with capital I)

Modified:
    tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
    tuscany/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java

Modified: tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java?rev=682612&r1=682611&r2=682612&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
(original)
+++ tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
Tue Aug  5 00:42:09 2008
@@ -414,7 +414,7 @@
 
     /**
      * <headers JMSType=”string”?
-     *          JMSCorrelationId=”string”?
+     *          JMSCorrelationID=”string”?
      *          JMSDeliveryMode=”PERSISTENT or NON_PERSISTENT”?
      *          JMSTimeToLive=”long”?      
      *          JMSPriority=”0 .. 9”?>
@@ -428,7 +428,7 @@
             jmsBinding.setJMSType(jmsType);
         }
 
-        String jmsCorrelationId = reader.getAttributeValue(null, "JMSCorrelationId");
+        String jmsCorrelationId = reader.getAttributeValue(null, "JMSCorrelationID");
         if (jmsCorrelationId != null && jmsCorrelationId.length() > 0) {
             jmsBinding.setJMSCorrelationId(jmsCorrelationId);
         }

Modified: tuscany/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java?rev=682612&r1=682611&r2=682612&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
(original)
+++ tuscany/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
Tue Aug  5 00:42:09 2008
@@ -61,7 +61,7 @@
             + "   <implementation.java class=\"services.HelloWorld\"/>"
             + "      <service name=\"HelloWorldService\">"
             + "          <binding.jms uri=\"jms:testQueue\" >"
-            + "             <headers JMSType=\"myType\" JMSCorrelationId=\"myCorrelId\"
JMSDeliveryMode=\"PERSISTENT\" JMSTimeToLive=\"54321\" JMSPriority=\"5\" >"
+            + "             <headers JMSType=\"myType\" JMSCorrelationID=\"myCorrelId\"
JMSDeliveryMode=\"PERSISTENT\" JMSTimeToLive=\"54321\" JMSPriority=\"5\" >"
             + "             </headers>" 
             + "          </binding.jms>"
             + "      </service>"



Mime
View raw message