Configuring InboundGateway with both no response and with the response
Use the following code in order to configure an InboundGateway
request with no response:
<int-http:inbound-channel-adapter id="httpChannelAdapter" channel="requests" supported-methods="PUT, DELETE"/>
For the requests which need a response:
<int-http:inbound-gateway id="inboundGateway" request-channel="requests" reply-channel="responses"/>
Get Mastering Spring Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.