Hi all,
I'm having trouble figuring out how spring integration can communicate with a Spring MVC controller.
The basic "http" example just posts a "Hello" String to a server:
But how would a controller be able to catch this String? In html form posts there is an id (variable name) associated with the variable content, but not in this case.PHP Code:<int:gateway id="requestGateway"
service-interface="org.springframework.integration.samples.http.RequestGateway"
default-request-channel="requestChannel"/>
<int:channel id="requestChannel"/>
<int-http:outbound-gateway request-channel="requestChannel"
url="http://localhost:8080/http/receiveGateway"
http-method="POST"
expected-response-type="java.lang.String"/>
Thanks a lot in advance!!
Jochen


Reply With Quote
