INT-1261 "http" is now included in componentType name

This commit is contained in:
Mark Fisher
2010-07-26 18:32:04 +00:00
parent d3a85c6b02
commit eb640e571a

View File

@@ -176,6 +176,11 @@ public class HttpRequestHandlingMessagingGateway extends AbstractMessagingGatewa
this.multipartResolver = multipartResolver;
}
@Override
public String getComponentType() {
return (this.expectReply) ? "http:inbound-gateway" : "http:inbound-channel-adapter";
}
/**
* Locates the {@link MultipartResolver} bean based on the default name defined by
* the {@link DispatcherServlet#MULTIPART_RESOLVER_BEAN_NAME} constant if available.