From 368c6fbd467a33bac31ded259e226a1bda9ef63a Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 4 Jan 2012 11:02:39 +0200 Subject: [PATCH] INT-2345: Doc: 'async-executor' for --- docs/src/reference/docbook/gateway.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/reference/docbook/gateway.xml b/docs/src/reference/docbook/gateway.xml index a4e41e30c4..559bd71fa6 100644 --- a/docs/src/reference/docbook/gateway.xml +++ b/docs/src/reference/docbook/gateway.xml @@ -298,6 +298,14 @@ int finalResult =  result.get(1000, TimeUnit.SECONDS); For a more detailed example, please refer to the async-gateway sample distributed within the Spring Integration samples. + Asynchronous Gateway and AsyncTaskExecutor + + By default GatewayProxyFactoryBean uses org.springframework.core.task.SimpleAsyncTaskExecutor + when submitting internal AsyncInvocationTask instances for any gateway method whose + return type is Future.class. However the async-executor attribute in the + <gateway/> element's configuration allows you to provide a reference to any implementation of + java.util.concurrent.Executor available within the Spring application context. +
Gateway behavior when no response arrives