GitHub user mikadev opened a pull request: https://github.com/apache/camel/pull/2476
CAMEL-12732 Take into account autoCommitEnable for the state Check if autocommitstate is enabled before setting the state (Fix the manual commit for the state) Warning! if the AutoCommitStateEnable is true and manual.commitSync is called when AllowManualCommit is true the state will be committed twice You can merge this pull request into a Git repository by running: $ git pull https://github.com/mikadev/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2476.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2476 ---- commit c3d89a59eb6bd9d78042e7e38972bc9d0ebd3dfc Author: elbaz michael <elbazmichael92@...> Date: 2018-08-15T21:02:39Z CAMEL-12732 Take into account autoCommitEnable for the state Check if autocommitstate is enabled before setting the state (Fix the manual commit for the state) Warning! if the AutoCommitStateEnable is true and manual.commitSync is called when AllowManualCommit is true the state will be committed twice ---- ---