?? There is no request-timeout on the gateway. If you mean reply-timeout, that is the time we allow when sending the reply to the reply-channel. Normally only meaningful if the reply channel is a bounded queue.
You need to add a request-factory attribute, and use it to reference a bean of that type that is configured with a read timeout...
You can also use a CommonsClientHttpRequestFactory if you need authentication etc.
<bean id="requestFactory" class="org.springframework.http.client.SimpleClientHttpRequestFactory">
<property name="readTimeout" value="30000"/>
Last edited by Gary Russell; Jan 26th, 2012 at 01:10 PM.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware