I have 2 processors with 2 queues between them that work with a batch of 5 flowitems. (flush contents is ticked). Each processor has a dedicated operator processing the flowitem. I would like transport from the exit queue of processor 1 to the entry queue of processor 2 (after batch of 5 is reached) be performed either by operator 1 or operator 2, whichever is available.
Is there an easy way to do this?
In my model i connect the processor 1, queue 1 and processor 2 to a dispatcher. at processor 1 is choose operator by name and at processor 2 operator by name. At queue1 I selected Use transport and select the dispatcher. Operator 1 and 2 do indeed work on their processor and perform the transport when 5 items have been collected, but 4 boxes are carried by operator 1 and 1 box by operator 2. I would like 1 operator to do the complete job.
Please help, thank you :)