You are using a very old version (and only a release candidate at that, not a GA release. The current version is 3.0.2.RELEASE
the latest 2.2.x
is 2.2.6.RELEASE
. Please upgrade to one of those.
http://projects.spring.io/spring-integration/
Yes, it's all done in the same transaction.
Are you referring to the old documentation too? The current documentation says
"A very important feature of the poller for JDBC usage is the option to wrap the poll operation in a transaction,..".
The transaction is started, the message source is invoked (to get the results) and the downstream flow all occurs in the transaction (unless you hand off to another thread, in which case the transaction will commit at that time).
In fact, the update is done right after the select (and before the message is sent), but the commit doesn't occur until the downstream flow is complete.
Your channel is called queueChannel
; if it really is a queue channel, that means that the transaction will commit as soon as the message is stored in the queue.
If you feel documentation improvements are required, please open a JIRA Issue.