parent
a9b650fd0f
commit
442bd682a7
|
|
@ -38,4 +38,5 @@ public class SimpleAsyncUncaughtExceptionHandler implements AsyncUncaughtExcepti
|
||||||
"method '%s'.", method), ex);
|
"method '%s'.", method), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ public class AsyncAnnotationAdvisor extends AbstractPointcutAdvisor implements B
|
||||||
* Specify the default task executor to use for asynchronous methods.
|
* Specify the default task executor to use for asynchronous methods.
|
||||||
*/
|
*/
|
||||||
public void setTaskExecutor(Executor executor) {
|
public void setTaskExecutor(Executor executor) {
|
||||||
this.advice = buildAdvice(executor, exceptionHandler);
|
this.advice = buildAdvice(executor, this.exceptionHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2012 the original author or authors.
|
* Copyright 2002-2014 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -139,7 +139,7 @@ public class HttpInvokerClientInterceptor extends RemoteInvocationBasedAccessor
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoteInvocation invocation = createRemoteInvocation(methodInvocation);
|
RemoteInvocation invocation = createRemoteInvocation(methodInvocation);
|
||||||
RemoteInvocationResult result = null;
|
RemoteInvocationResult result;
|
||||||
try {
|
try {
|
||||||
result = executeRequest(invocation, methodInvocation);
|
result = executeRequest(invocation, methodInvocation);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue