To configure the HttpInvokerOutboundGateway
write a bean definition like this:
<bean id="outboundGateway" class="org.springframework.integration.httpinvoker.HttpInvokerOutboundGateway"> <property name="replyChannel" ref="replyChannel"/> </bean>
The outbound gateway is a MessageHandler
and can therefore be registered with
either a PollingConsumer
or EventDrivenConsumer
.
The URL must match that defined by an inbound HttpInvoker Gateway as described in the previous section.