Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update tests to be compatible with Spring Web Services 2.2
Spring Web Services 2.2 added a new method, afterCompletion, to
ClientInterceptor. To allow Spring Integration's tests to be run
successfully against Spring Web Services 2.2, this commit adds empty
implementations of this method to two test implementations of the
interface.
  • Loading branch information
wilkinsona committed Apr 24, 2014
1 parent aeeb9db commit 4c495a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Expand Up @@ -37,4 +37,8 @@ public boolean handleFault(MessageContext context) throws WebServiceClientExcept
return false;
}

public void afterCompletion(MessageContext messageContext, Exception ex) throws WebServiceClientException {

}

}
Expand Up @@ -259,6 +259,10 @@ public boolean handleResponse(MessageContext messageContext) throws WebServiceCl
public boolean handleFault(MessageContext messageContext) throws WebServiceClientException {
return false;
}

public void afterCompletion(MessageContext messageContext, Exception ex) throws WebServiceClientException {

}
}

private static class Int2720EmailTestClientInterceptor extends TestClientInterceptor {
Expand Down

0 comments on commit 4c495a3

Please sign in to comment.