You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gateway proxies should support Future return types on interface methods [INT-1414] #5408
With a Future return-type the Gateway method invocation will return immediately with the Future providing access to the result via the blocking get() or get(timeout, timeunit) calls. If an Exception occurred during an asynchronous message flow downstream, that would be re-thrown when get(..) is called. If the get(timeout, timeunit) times out, that will trigger a TimeoutException. This provides the caller with the option to set any timeout value (as opposed to the synchronous method invocation which is always based on requestTimeout and replyTimeout values of the Gateway itself). Finally, if a particular asynchronous Gateway invocation needs to be cancelled, then the caller can invoke cancel() on the Future.
Activity
spring-operator commentedon Sep 3, 2010
Mark Fisher commented
See the commit log for details about how this has been implemented:
https://fisheye.springsource.org/changelog/spring-integration?cs=4119