Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to create a custom ESB component?

Different components exist already, e.g. cFile or cTimer.
Camel offers over 100 components ( http://camel.apache.org/components.html). Most of them can only be accessed via cMessagingEndpoint in Talend ESB. That works! However, it is not as comfortable as having a "cTalend" component for each Camel component.
So, I wonder how to create custom "cTalend" components (based on existing Camel components)? Is there a template and / or tutorial how to do this?
Labels (2)
7 Replies
Anonymous
Not applicable
Author

Hi,
Do you want to custom a component in ESB?
First, find a demo component in your <Taklend Installation dir\plugins\org.talend.designer.camel.components.localprovider_5.2.1.r95165\components>.
Second, copy any existed component, and rename it.
Third, there are five types file. You can design your custom component according to the file.
Fourth, you can open .javajet file to code.
see pics
Hope it will help you!
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks Sabrina.
using another component would work, but it is definitely not easy for getting started. Is there no documentation about the content and concepts of these files anywhere?
Of course, a short tutorial would be the best solution 🙂
Btw: What is kind of data type is javajet? Is that a "view definition language" without public documentation?
Anonymous
Not applicable
Author

Hi,
I have consulted our documentation team, and there is no such detailed doc as you mentioned. Here is a documentation about component creation: https://help.talend.com/search/all?query=How+to+create+a+custom+component. Hope it will help you.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
thanks. Unfortunately this does not help. I do not want to create a DI component, but an ESB component. As there is no documentation yet, I have just created a JIRA ticket for it: https://jira.talendforge.org/browse/DOCT-1297
Best regards,
Kai
Anonymous
Not applicable
Author

Hi,
OK, it is a good resolution and thanks for your feedback!
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Do you want to custom a component in ESB?
First, find a demo component in your <Taklend Installation dir\plugins\org.talend.designer.camel.components.localprovider_5.2.1.r95165\components>.
Second, copy any existed component, and rename it.
Third, there are five types file. You can design your custom component according to the file.
Fourth, you can open .javajet file to code.
see pics
Hope it will help you!
Best regards
Sabrina

Unfortunately that instruction won't work at all, as all the URL compositing for camel components is done in
the header_route.javajet of the org.talend.designer.codegen plugin (one if statement for each supported component) instead of doing it with individual .javajet files loaded from the actual components.
See bug https://jira.talendforge.org/browse/TESB-9596
I hope Talend will support custom Camel components.
Anonymous
Not applicable
Author

Hi,
Thanks for the jira issue. I have re-assigned it to ESB manager and inform you as long as there is a response.
Best regards
Sabrina