Employee

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?
7 REPLIES
Moderator

Re: How to create a custom ESB component?

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to create a custom ESB component?

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?
Moderator

Re: How to create a custom ESB component?

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to create a custom ESB component?

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
Moderator

Re: How to create a custom ESB component?

Hi,
OK, it is a good resolution and thanks for your feedback!
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to create a custom ESB component?

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.
Moderator

Re: How to create a custom ESB component?

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.