I am trying to use a series of processing steps within a pipeline for their
side-effects (eg., writing to a db or calling a web service).  I am NOT
interested in the output of these steps -- just that they execute.  The
problem is that none of these steps are executing because I am not hooking
up the output of the final step with the output of the pipeline.  Why does
OXF regard any unused output as a terminal step in the pipeline, and as a
result NONE of the steps are executed?

Example:

processingStep1
inputS1
outputS1

choose (outputS1)
        when (condition)
                processingStepForSideEffect1
                processingStepForSideEffect2
                ---> Output from this 2nd step is NEVER USED, but that's OK w/me...
                ---> The problem is that even though condition is met, my 2 side-effect
                ---> statements are never called!
                ---> One hack is to put a sessionSerializer as a last step, but
                ---> that's a hack...
        endWhen
endChoose

processingStep2
--> input taken from outputS1
--> output hooked to pipeline's output


Thanks for your help.

-Scott
UC Berkeley Center for Docment Engineering


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to