summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-jms/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-14 13:49:42 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-14 13:49:42 +0000
commitf04913e8cefaf78e4ae3a783118a95e13a450c68 (patch)
tree3268a38f99ee0198391c931f519b404f2330a71f /sca-java-2.x/trunk/modules/binding-jms/src
parentce799b93742072dc9023c6860c981795a15b5266 (diff)
Remove actspec == destname check as thats not strictly correct and the test requirement isn't in the compliance tests anymore
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059008 13f79535-47bb-0310-9956-ffa450edef68
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.java14
1 files changed, 0 insertions, 14 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 97dfd5f4cf..b9d7d7a6f6 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
@@ -1005,20 +1005,6 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St
error(monitor, "DestinationURIContradiction", jmsBinding, jmsBinding.getJMSURI(), jmsBinding.getDestinationName());
}
- // If activation spec and destination are both specified, they have to match
- if ( ( jmsBinding.getActivationSpecName() != null ) && (jmsBinding.getActivationSpecName().length() > 0 ) &&
- (jmsBinding.getDestinationName() != null) && (jmsBinding.getDestinationName().length() > 0 ) ) {
- if ( !jmsBinding.getActivationSpecName().equals(jmsBinding.getDestinationName())) {
- error(monitor, "ActivationSpecAndDestinationMismatch", jmsBinding, jmsBinding.getActivationSpecName(), jmsBinding.getDestinationName());
- }
- }
-
- if ( ( jmsBinding.getResponseActivationSpecName() != null ) && (jmsBinding.getResponseActivationSpecName().length() > 0 ) &&
- (jmsBinding.getResponseDestinationName() != null ) && (jmsBinding.getResponseDestinationName().length() > 0 ) ) {
- if ( !jmsBinding.getResponseActivationSpecName().equals(jmsBinding.getResponseDestinationName())) {
- error(monitor, "ActivationSpecAndDestinationMismatch", jmsBinding, jmsBinding.getResponseActivationSpecName(), jmsBinding.getResponseDestinationName());
- }
- }
// If activation spec exists with create=always, a jndiName must be specified
if (JMSBindingConstants.CREATE_ALWAYS.equals(jmsBinding.getActivationSpecCreate()) &&
(jmsBinding.getActivationSpecName() == null)) {