If you need to create a non-stage component such as a feeder, follow the instructions for Creating a New Pipeline Stage and then convert it to a Component from a Stage.

After you import the Stage into Eclipse, complete the following steps.

1. Change the class definition so that the class extends ComponentImpl rather than StageImpl:

public class MyFeeder extends ComponentImpl {

2. Delete the process(Job j) method:

public void process(Job j) throws AspireException {

3. Add the required functionality to the component.

4. Update the unit tests.

If you are creating a feeder, you may want to base it on the Simple Feeder.

  • No labels