INT-2249
polished MethodInvokingMessageProcessor constructor that takes boolean argument by renaming the argument from 'requiresReply' to 'canProcessMessageList' which is what it really maps to in MessagingMethodInvokerHelper.HandlerMethod fixed 'filterSelectsNonVoidReturningMethodsOnly' and 'testOverloadedNonVoidReturningMethodsWithExactMatchForType' tests of MethodInvokingMessageProcessorTests to invoke the right constructor and commented out 'testVoidMethodsExcludedByFlag' test as its no longer valid
This commit is contained in:
committed by
Mark Fisher
parent
f2990f5f59
commit
0ce12cbcf8
@@ -48,8 +48,8 @@ public class MethodInvokingMessageProcessor<T> extends AbstractMessageProcessor<
|
||||
delegate = new MessagingMethodInvokerHelper<T>(targetObject, methodName, false);
|
||||
}
|
||||
|
||||
public MethodInvokingMessageProcessor(Object targetObject, String methodName, boolean requiresReply) {
|
||||
delegate = new MessagingMethodInvokerHelper<T>(targetObject, methodName, Object.class, false);
|
||||
public MethodInvokingMessageProcessor(Object targetObject, String methodName, boolean canProcessMessageList) {
|
||||
delegate = new MessagingMethodInvokerHelper<T>(targetObject, methodName, canProcessMessageList);
|
||||
}
|
||||
|
||||
public MethodInvokingMessageProcessor(Object targetObject, Class<? extends Annotation> annotationType) {
|
||||
|
||||
Reference in New Issue
Block a user