diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-07 08:41:24 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-07 08:41:24 +0000 |
commit | 317553ec8c18237b5705de626d4a16677ac31452 (patch) | |
tree | 3756f193fa6f1be070ede3c171cb5411057a4179 | |
parent | aba03816bfe2d775f3235c7d8a7225b575945a2f (diff) |
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
Diffstat (limited to '')
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} + |