You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2017/02/24 16:56:17 UTC

cxf git commit: Correctly registering LoggingOutInterceptor in the test server

Repository: cxf
Updated Branches:
  refs/heads/master a7c94cadc -> e7c9896f7


Correctly registering LoggingOutInterceptor in the test server


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e7c9896f
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e7c9896f
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e7c9896f

Branch: refs/heads/master
Commit: e7c9896f77eea59df53175b4e47f20bba22cbacd
Parents: a7c94ca
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Fri Feb 24 16:55:58 2017 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Fri Feb 24 16:55:58 2017 +0000

----------------------------------------------------------------------
 .../src/test/java/org/apache/cxf/systest/jaxrs/BookServer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e7c9896f/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer.java
index 3418ad4..b060e7a 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer.java
@@ -130,10 +130,10 @@ public class BookServer extends AbstractBusTestServerBase {
         List<Interceptor<? extends Message>> inInts = new ArrayList<Interceptor<? extends Message>>();
         inInts.add(new CustomInFaultyInterceptor());
         inInts.add(new LoggingInInterceptor());
-        inInts.add(new LoggingOutInterceptor());
         sf.setInInterceptors(inInts);
         List<Interceptor<? extends Message>> outInts = new ArrayList<Interceptor<? extends Message>>();
         outInts.add(new CustomOutInterceptor());
+        outInts.add(new LoggingOutInterceptor());
         sf.setOutInterceptors(outInts);
         List<Interceptor<? extends Message>> outFaultInts = new ArrayList<Interceptor<? extends Message>>();
         outFaultInts.add(new CustomOutFaultInterceptor());