diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-10 15:26:14 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-10 15:26:14 +0000 |
commit | 42b3f8bb1bd4fef2dfe7d9bb03b5899abfa6033b (patch) | |
tree | f4233b522bac401251d9911797f82b50d61d9ec3 /sca-java-2.x/trunk | |
parent | 67f35e4995ee6c120f0da3401f49f65590187201 (diff) |
Update to fix compliance test BJM_4011 - if the operation isn't found ensure a failure response is sent if possible
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200378 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java index ab3392fcce..42c0ce6993 100644 --- a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java +++ b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java @@ -85,7 +85,7 @@ public class TransportServiceInterceptor extends InterceptorAsyncImpl { logger.log(Level.SEVERE, "Exception invoking service '" + service.getName(), e); Operation operation = msg.getOperation(); - if (operation != null && !operation.isNonBlocking()) { + if (operation == null || !operation.isNonBlocking()) { JMSBindingContext context = msg.getBindingContext(); Session session = context.getJmsResponseSession(); javax.jms.Message replyJMSMsg = responseMessageProcessor.createFaultMessage(session, e); |