Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

SMILA/Documentation/Worker/PipelineProcessorWorker

< SMILA‎ | Documentation
Revision as of 08:46, 10 August 2011 by Unnamed Poltroon (Talk) (added PipelineProcessingWorker page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Note.png
Available since SMILA 0.9.0!


PipelineProcessingWorker (bundle org.eclipse.smila.processing.worker)

The PipelineProcessingWorker is a worker designed to process synchronous pipelines inside a asynchronous workflow. The worker in principal is independant of a dedicated pipeline processing implementation. However, in SMILA we use BPEL pipelines for synchronous workflows, so in common speech the worker is also called BPEL worker.

JavaDoc

This page gives only a rough overview of the service. Please refer to the JavaDoc for detailed information about the Java components.

Configuration

The PipelineProcessingWorker is configured via incoming task parameters. These parameters could have been set e.g. in a job definition.

Parameter Description Default value
pipelineName name of the synchronous (BPEL) pipeline to execute ---
numberOfParallelRecords number of records to be processed in parallel by the synchronous workflow 1

Sample job definition that sets the parameters:

{
  "name":"myJob",
  "parameters":{
    "pipelineName": "myBpelPipeline",
    "numberOfParallelRecords": "10",
    ...
   },
  "workflow":"myWorkflow"
}


PipelineProcessingWorker definition in workers.json

  { "name": "pipelineProcessingWorker",
     "parameters": [ "pipelineName" ],
     "input": [ 
         {  "name": "input",              
            "type": "recordBulks"
         } ],
     "output": [ 
         {  "name": "output",
            "type": "recordBulks",
            "modes": ["optional"]
         } ]             
  }

Back to the top