Skip to content

Commit

Permalink
[JBWS-3921] Get rid of unrequired MessagePropertySettingInterceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
asoldano authored and asoldano committed Nov 29, 2017
1 parent bfd6a67 commit 2bc367c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
import org.jboss.wsf.stack.cxf.client.Constants;
import org.jboss.wsf.stack.cxf.deployment.WSDLFilePublisher;
import org.jboss.wsf.stack.cxf.extensions.policy.PolicySetsAnnotationListener;
import org.jboss.wsf.stack.cxf.interceptor.MessagePropertySettingInterceptor;
import org.jboss.wsf.stack.cxf.interceptor.EndpointAssociationInterceptor;
import org.jboss.wsf.stack.cxf.interceptor.HandlerAuthInterceptor;
import org.jboss.wsf.stack.cxf.interceptor.NsCtxSelectorStoreInterceptor;
Expand Down Expand Up @@ -164,6 +163,9 @@ public void configure(ResourceResolver resolver, Configurer configurer, JBossWeb
//(moreover the user can tune the web container thread pool instead of expecting cxf to fork new threads)
bus.setProperty(OneWayProcessorInterceptor.USE_ORIGINAL_THREAD, true);

//[JBWS-3135] enable decoupled faultTo. This is an optional feature in cxf and we need this to be default to make it same behavior with native stack
bus.setProperty("org.apache.cxf.ws.addressing.decoupled_fault_support", true);

FeatureUtils.addFeatures(bus, bus, props);
}

Expand Down Expand Up @@ -202,7 +204,6 @@ protected static void setInterceptors(Bus bus, Map<String, String> props)
//Install the EndpointAssociationInterceptor for linking every message exchange
//with the proper spi Endpoint retrieved in CXFServletExt
bus.getInInterceptors().add(new EndpointAssociationInterceptor());
bus.getInInterceptors().add(new MessagePropertySettingInterceptor());
bus.getInInterceptors().add(new NsCtxSelectorStoreInterceptor());

final String p = (props != null) ? props.get(Constants.JBWS_CXF_DISABLE_HANDLER_AUTH_CHECKS) : null;
Expand Down

This file was deleted.

0 comments on commit 2bc367c

Please sign in to comment.