INT-929 polishing

This commit is contained in:
Oleg Zhurakousky
2011-05-17 08:17:55 -04:00
parent 9466afadd6
commit 396b8ecb3c

View File

@@ -20,7 +20,6 @@ import java.lang.reflect.Method;
import org.springframework.integration.Message;
import org.springframework.integration.MessagingException;
import org.springframework.integration.annotation.ServiceActivator;
import org.springframework.integration.core.MessageHandler;
import org.springframework.util.Assert;
@@ -46,11 +45,6 @@ public class MethodInvokingMessageHandler extends AbstractMessageHandler {
processor = new MethodInvokingMessageProcessor<Object>(object, methodName);
}
public MethodInvokingMessageHandler(Object object) {
processor = new MethodInvokingMessageProcessor<Object>(object, ServiceActivator.class);
}
public void setComponentType(String componentType) {
this.componentType = componentType;
}