GitHub user gzurowski opened a pull request:
https://github.com/apache/camel/pull/79
Only persist changes when no exceptions occurred.
Move session.save() call into try block, so no partial changes are
persisted if any exceptions occur during component operations.
Signed-off-by: Gregor Zurowski <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gzurowski/camel Fix-Session-Mgmt
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/79.patch
----
commit 516530b320f28b7389c447bc1eb2a842ff365d24
Author: Gregor Zurowski <[email protected]>
Date: 2013-12-25T03:04:32Z
Only persist changes when no exceptions occurred.
Move session.save() call into try block, so no partial changes are
persisted if any exceptions occur during component operations.
Signed-off-by: Gregor Zurowski <[email protected]>
----