Need help with developing custom component

Hello,

I am trying to rewrite a custom component written in older version which throws error that all the input records are not read from input port X … I need help with rewriting this component

I am trying to leverage the code for SimpleCopy component to learn about writing components in Java. I have copy pasted that code into a new class ABC.I was able to add it to the palette with the help of the plugin descriptor file… but when I try to run it … it gives me the unknown component error : ClassNotFound Exception…

1. Where and How do I register this component ?
2. Are there any more resources or code examples for custom components ?
or could you provide an example … where a component reads records from
two or more input ports

Thank you for all your help … I appreciate it a lot
Ashish

Hello,
custom plugin’s adding should work in older and newer versions in the same way. I.e. new components need to be compiled and packed into the jar file. plugin.xml file, that defines the components must be created (see Updating ComponentFactory), and placed (with the jar file) in CloverETL plugins directory (in windows system with CloverETL Designer it is usually something like c:/Program Files/eclipse/plugins/com.cloveretl.gui_2.9.2/lib).
Most of the components is open source, so you can see the source code. The easiest component, that reads data from more input ports is probably org.jetel.component.Concatenate.