diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jms/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java index 933ef333f7..569f23c957 100644 --- a/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingProcessor.java @@ -437,11 +437,11 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseActivationSpec(XMLStreamReader reader, JMSBinding jmsBinding, Monitor monitor) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = reader.getAttributeValue(null, "jndiName"); if (name != null && name.length() > 0) { jmsBinding.setActivationSpecName(name); } else { - warning(monitor, "MissingActivationSpecName", reader); + error(monitor, "MissingActivationSpecName", reader); } jmsBinding.getActivationSpecProperties().putAll(parseBindingProperties(reader, monitor)); } @@ -483,7 +483,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseResponseActivationSpec(XMLStreamReader reader, JMSBinding jmsBinding, Monitor monitor) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = reader.getAttributeValue(null, "jndiName"); if (name != null && name.length() > 0) { jmsBinding.setResponseActivationSpecName(name); } else { |