From eb640e571ac68b2f6d3f5488b659718dcd23d778 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Mon, 26 Jul 2010 18:32:04 +0000 Subject: [PATCH] INT-1261 "http" is now included in componentType name --- .../http/HttpRequestHandlingMessagingGateway.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spring-integration-http/src/main/java/org/springframework/integration/http/HttpRequestHandlingMessagingGateway.java b/spring-integration-http/src/main/java/org/springframework/integration/http/HttpRequestHandlingMessagingGateway.java index 6a4f4b2814..787715fe0b 100644 --- a/spring-integration-http/src/main/java/org/springframework/integration/http/HttpRequestHandlingMessagingGateway.java +++ b/spring-integration-http/src/main/java/org/springframework/integration/http/HttpRequestHandlingMessagingGateway.java @@ -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.