public DisablePayloadCollectingDeactivationInterceptor() { super(Phase.WRITE_ENDING); addBefore(OutPayloadExtractorInterceptor.class.getName()); }
@Override public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors() { return Arrays.asList( new DisablePayloadCollectingDeactivationInterceptor(), new OutStreamSubstituteInterceptor()); }