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.
This commit is contained in:
Andy Wilkinson
2014-04-24 13:44:16 +01:00
parent aeeb9db4f6
commit 4c495a3bf5
2 changed files with 8 additions and 0 deletions

View File

@@ -37,4 +37,8 @@ public class StubClientInterceptor implements ClientInterceptor {
return false;
}
public void afterCompletion(MessageContext messageContext, Exception ex) throws WebServiceClientException {
}
}

View File

@@ -259,6 +259,10 @@ public class UriVariableTests {
public boolean handleFault(MessageContext messageContext) throws WebServiceClientException {
return false;
}
public void afterCompletion(MessageContext messageContext, Exception ex) throws WebServiceClientException {
}
}
private static class Int2720EmailTestClientInterceptor extends TestClientInterceptor {