markfisher/spring-integration — comment on commit 19d3e0e1177d1ad893d7f6200764785e11cd6d64
File: spring-integration-core/src/main/java/org/springframework/integration/config/xml/GatewayParser.java line 45
By olegz:

Shouldn't we call it 'task-executor' for consistency with other components? Or do we want to enforce 'async' characteristics?
Interestingly enough in GPFB the attribute is of type 'AsyncTaskExecutor' (not Executor) but the setter accepts any Executor, so I am thinking if someone passes SyncTaskExecutor would that be a problem. All we seem to be doing now is converting anything tat is not AsyncTaskExecutor to TaskExecutorAdapter which itself is bootstrapped with Executor which itself could be SyncTaskExecutor.