[MarkLogic Dev General] Handling multiple pipelines at same state
mary.holstege at marklogic.com
Fri Mar 19 08:05:48 PST 2010
On Fri, 19 Mar 2010 08:23:22 -0700, mano m <mano07good at yahoo.co.in> wrote:
> * I am having 2 pipeline.xml files.Both the pipelines should be called
> when document is loaded to a particular collection.How to call Pipeline2
> within Pipeline1? Or Is there anyother way to configure this?
> I have tried with setting the <priority> to higher values.But
> only one pipeline(with high priority) got executed.
> * <state>http://marklogic.com/states/initial</state>
> Once the pipeline got executed the status doesnt get changed to
> Please suggest your thoughts.
The thing to keep in mind is that a pipeline is not a unit of execution,
it is a unit
of configuration. CPF runs in an asynchronous event-based fashion, and so
what really matters is the set of rules for a particular state. Only one
be executed for any given state, so if you want to do one thing and then
thing, have state1 execute thing1 and set the state to state2, and have
Mary.Holstege at marklogic.com
Mark Logic Corporation
More information about the General