From 317553ec8c18237b5705de626d4a16677ac31452 Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 7 Aug 2008 08:41:24 +0000 Subject: Apply patch from Ramkumar Ramalingam for TUSCANY-2532: Test case failure in itest/validation DoesntProcessHeadersTestCase git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@683551 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java | 2 +- .../src/main/resources/binding-jms-validation-messages.properties | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'java/sca') 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 { 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} + -- cgit v1.2.3