return new PersistentProcessor(name, queue, threadPriority, engine, transactionController);
}
@Override
protected Queue<Workflow<?>> createQueue() {
return new WfPriorityQueue() {
private boolean notifiedLowerThreshold = false;
@Override
public Workflow<?> poll() {
Workflow<?> wf = super.poll();
if (!notifiedLowerThreshold && size() < lowerThreshold) {