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.java2
-rw-r--r--java/sca/modules/binding-jms/src/main/resources/binding-jms-validation-messages.properties6
2 files changed, 7 insertions, 1 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 1f07a07c08..e3d46edc46 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
@@ -524,7 +524,7 @@ public class JMSBindingProcessor implements StAXArtifactProcessor<JMSBinding> {
private void parseOperationProperties(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException {
String opName = reader.getAttributeValue(null, "name");
if (opName == null || opName.length() < 1) {
- warning("InvalidJMSOperationProperty", jmsBinding);
+ warning("MissingJMSOperationPropertyName", jmsBinding);
return;
}
String nativeOpName = reader.getAttributeValue(null, "nativeOperation");
diff --git a/java/sca/modules/binding-jms/src/main/resources/binding-jms-validation-messages.properties b/java/sca/modules/binding-jms/src/main/resources/binding-jms-validation-messages.properties
index be26a615dd..2f1048e601 100644
--- a/java/sca/modules/binding-jms/src/main/resources/binding-jms-validation-messages.properties
+++ b/java/sca/modules/binding-jms/src/main/resources/binding-jms-validation-messages.properties
@@ -37,5 +37,11 @@ MustStartWithSchema = URI must start with the scheme 'jms:' for uri: {0}
InvalidCorrelationScheme = Invalid correlationScheme: {0}
UnexpectedElement = Incomplete binding.jms definition found unexpected element: {0}
UnexpectedResponseElement = Incomplete binding.jms/response definition found unexpected element: {0}
+InvalidJMSDeliveryMode = Invalid JMSDeliveryMode: {0}
+InvalidJMSPriority = Invalid JMSPriority: {0}
+MissingJMSOperationPropertyName = Missing JMSOperationProperty Name
+InvalidOPJMSDeliveryMode = Invalid OPJMSDeliveryMode: {0}
+InvalidOPJMSPriority = Invalid OPJMSPriority: {0}
+