A processor uses another processor called ProcExecuteChain to execute a subchain. The property file of the ProcExecuteChain is configured with a PipelineManager and a chain name to execute.

The key to the ProcExecuteChain execution is its return value. The value it returns is not that of the last processor in the chain that it executed, but rather whether or not the result object contains errors. If it did contain an error, ProcExecuteChain will return STOP_CHAIN_EXECUTION_AND_ROLLBACK, otherwise it will return SUCCESS (SUCCESS is mapped to the value 1 by default). These return values are configurable in the properties file.

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices