GitHub user bbende opened a pull request: https://github.com/apache/nifi/pull/264
NIFI-1607 Fixing issue in ListenRELP where it could commit the session before all flow files were transferred Was able to reproduce this exception by writing a unit test that simulated data coming from two senders and had batching turned on, which caused the code to try and commit the session in a loop that was processing the data for each sender. Moved the session.commit() outside the while loop, and acknowledged all messages after successful commit. The above unit test passes now. You can merge this pull request into a Git repository by running: $ git pull https://github.com/bbende/nifi NIFI-1607 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/264.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 #264 ---- commit 699f84f951c0e3a99564074a0d0ff473a9c63c14 Author: Bryan Bende <bbe...@apache.org> Date: 2016-03-08T23:04:28Z NIFI-1607 Fixing issue in ListenRELP where it could commit the session before all flow files were transferred ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---