Sohail Khan
Sohail Khan

Reputation: 289

Spring Integration: Message Driven Channel Adapter

As per the documentation int-jms:message-driven-channel-adapter uses SimpleAsyncTaskExecutor

SimpleAsyncTaskExecutor doesn't reuse threads and creates a new thread for each task. In case of message-driven-channel-adapter what is the definition of a task?

Upvotes: 0

Views: 197

Answers (1)

Artem Bilan
Artem Bilan

Reputation: 121177

In case of message driven channel Adapter the task is a constantly polling loop. So, this is going to be a long- living resource which keeps thread active. Therefore we don’t care too much about source of threads. See Spring JMS for more information.

Upvotes: 1

Related Questions