summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java4
-rw-r--r--java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java b/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
index 25c236d425..3d45492a49 100644
--- a/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
+++ b/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java
@@ -414,7 +414,7 @@ public class JMSBindingProcessor implements StAXArtifactProcessor<JMSBinding> {
/**
* <headers JMSType=”string”?
- * JMSCorrelationId=”string”?
+ * JMSCorrelationID=”string”?
* JMSDeliveryMode=”PERSISTENT or NON_PERSISTENT”?
* JMSTimeToLive=”long”?
* JMSPriority=”0 .. 9”?>
@@ -428,7 +428,7 @@ public class JMSBindingProcessor implements StAXArtifactProcessor<JMSBinding> {
jmsBinding.setJMSType(jmsType);
}
- String jmsCorrelationId = reader.getAttributeValue(null, "JMSCorrelationId");
+ String jmsCorrelationId = reader.getAttributeValue(null, "JMSCorrelationID");
if (jmsCorrelationId != null && jmsCorrelationId.length() > 0) {
jmsBinding.setJMSCorrelationId(jmsCorrelationId);
}
diff --git a/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java b/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
index d6d0c91d81..4f13ae78c3 100644
--- a/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
+++ b/java/sca/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java
@@ -61,7 +61,7 @@ public class JMSBindingProcessorTestCase extends TestCase {
+ " <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>"