I have a database flow, which is a sequence of 4 processors. For database performance reasons I need to make sure only one file is in this section of the flow at a time. Not just one file per queue/processor, but for the whole section.
I feel like I should be able to use Wait/Notify to do this, but Wait/Notify seem to do the opposite. I want to allow a file to go into the flow unless there is a flag. If there is a flag I want the FlowFile to wait until the flag is cleared. Thoughts? Thanks, Peter