|
From: Bruce M. <br...@mc...> - 2003-07-09 22:37:48
|
NICE! On Wednesday 09 July 2003 06:01 pm, Leech, Jonathan wrote: > I've got it prototyped and working! Thanks Dejan for the idea of adding an > attribute to specify ordering -- I was stuck on the idea of the order > coming from the order in the config file... > > The general idea is to add the attributes 'order', 'threaded', and > 'maxthreads' to any pipeline stages that can create more than one output > document. > > The only thing its missing is the 'maxthreads' idea, I've got it hardcoded > to 5. > > -Jonathan > > Example config of ordered router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.order.step1=1 > example.order.step2=2 > example.order.step3=3 > > Example config of parallel router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.threaded=true > example.maxthreads=2 > > Example config of parallel XpathSlitter > example.stageType=XpathSplitter > example.nextStage=step1 > example.XPath=//foo/bar > example.threaded=true > example.maxthreads=10 |