Basic things in Customizing Pipeline

Pipeline definition files define pipeline chains.

1.You can create a processor by implementing the interface
   atg.service.pipeline.PipelineProcessor,
   implement the runprocess() method,returning a status code(int).

eg:
  public class ProcApproveOrder implements PipelineProcessor {
          public int runProcess(Object pParam, PipelineResult
                                                     pResult)
                     throws Exception {
             ........
              return CONTINUE_CHAIN_EXECUTION;
          }
  }
   After adding the required functionality,return the status
   code,anything other than the return value  0,will tell the
   PipeLineManager to execute the next processor in the chain.

2. Create a nucleus component for your Processor (
   AprroveOrder.properties)
   eg:
   $class=x.x.x.x..ProcApproveOrder
   $scope=global

3. Modify the ---pipeline.xml file.

   Also see the ATG PipelineRegistry

Comments

Popular posts from this blog

Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

BCC site status inaccessible Agent Production in error state

DUseSunHttpHandler=true weblogic.net.http.SOAPHttpsURLConnection Weblogic/Java HttpHandler issues