Added reply timeouts.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
<gateway id="requestReply"
|
||||
service-interface="org.springframework.integration.gateway.TestService"
|
||||
default-request-channel="requestChannel"
|
||||
default-reply-channel="replyChannel"/>
|
||||
default-reply-channel="replyChannel"
|
||||
default-reply-timeout="5000"/>
|
||||
|
||||
</beans:beans>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<beans:property name="serviceInterface" value="org.springframework.integration.gateway.TestService"/>
|
||||
<beans:property name="defaultRequestChannel" ref="requestChannel"/>
|
||||
<beans:property name="defaultReplyChannel" ref="replyChannel"/>
|
||||
<beans:property name="defaultReplyTimeout" value="5000"/>
|
||||
</beans:bean>
|
||||
|
||||
<beans:bean id="handler" class="org.springframework.integration.gateway.TestHandler"/>
|
||||
|
||||
Reference in New Issue
Block a user