You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2008/12/17 17:15:18 UTC

svn commit: r727423 - /servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInInterceptor.java

Author: ffang
Date: Wed Dec 17 08:15:17 2008
New Revision: 727423

URL: http://svn.apache.org/viewvc?rev=727423&view=rev
Log:
[SM-1740]remove unreachable code from JbiInInterceptor

Modified:
    servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInInterceptor.java

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInInterceptor.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInInterceptor.java?rev=727423&r1=727422&r2=727423&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInInterceptor.java (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInInterceptor.java Wed Dec 17 08:15:17 2008
@@ -107,11 +107,7 @@
                 BindingOperationInfo.class);
         if (operation != null) {
             if (operation.getOutput() == null) {
-                if (operation.getFaults().size() == 0) {
-                    mep = MessageExchangeSupport.IN_ONLY;
-                } else {
-                    mep = MessageExchangeSupport.ROBUST_IN_ONLY;
-                }
+                mep = MessageExchangeSupport.IN_ONLY;
             } else {
                 mep = MessageExchangeSupport.IN_OUT;
             }