Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <int-http:inbound-gateway id="httpInboundGatewayPathAdapterControlBus"
- request-channel="controlBusIn"
- reply-channel="controlBusWithReplyChannel"
- supported-methods="GET"
- path="{pathvalue}" request-payload-type="java.lang.String"
- payload-expression="#pathVariables.pathvalue">
- <listener>
- <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
- </listener>
- <servlet>
- <servlet-name>httpInboundGatewayPathAdapterControlBus</servlet-name>
- <servlet-class>org.springframework.web.context.support.HttpRequestHandlerServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>httpInboundGatewayPathAdapterControlBus</servlet-name>
- <url-pattern>/controlBusURIExpression/*</url-pattern>
- </servlet-mapping>
- Map<String, String> pathVariables =
- (Map<String, String>) servletRequest.getAttribute(HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE);
- <bean id="integrationRequestMappingHandlerMapping" class="org.springframework.integration.http.inbound.IntegrationRequestMappingHandlerMapping"/>
- <int-http:inbound-gateway request-channel="receiveChannel"
- path="{pathValue}"
- payload-expression="#pathVariables.pathValue"
- supported-methods="GET"/>
- <int-http:inbound-gateway request-channel="receiveChannel"
- path="{pathValue}"
- payload-expression="#pathVariables.pathValue"
- supported-methods="GET"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement