how to use Camel's .toD() in Talend ESB ?

Seven Stars

how to use Camel's .toD() in Talend ESB ?

Camel implements a dynamic .to named .toD()

It allows to dynamically define an endpoint with several languauges (simple, Spel...) and use for instance Camel header or property for some options.

 

How can we use it in Talend ESB Studio ?


Accepted Solutions
Sixteen Stars

Re: how to use Camel's .toD() in Talend ESB ?

Use the cJavaDSLProcessor component.


All Replies
Moderator

Re: how to use Camel's .toD() in Talend ESB ?

Hello,

We have redirected your issue to talend ESB experts and then come back to you as soon as we can.

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.
Sixteen Stars

Re: how to use Camel's .toD() in Talend ESB ?

Use the cJavaDSLProcessor component.

Seven Stars

Re: how to use Camel's .toD() in Talend ESB ?

Thanks !
Six Stars

Re: how to use Camel's .toD() in Talend ESB ?

Do we have any update on this?

I am using cxf component and I wan't to prevent the endpoint check at the time of initialization of the route.

Seven Stars

Re: how to use Camel's .toD() in Talend ESB ?

The solution was given by R_hall : cJavaDSLProcessor..

By the way, I'm not sure overtaking the general Camel behaviour on cfx component is a good thing ...

Six Stars

Re: how to use Camel's .toD() in Talend ESB ?

Actually, I want to set the property "ignoreInvalidEndpoint" = true on a cxf component. But to support it, I have already used JavaDSL component but still not sure where I can set the property to true.

Seven Stars

Re: how to use Camel's .toD() in Talend ESB ?

In the endpoint url, as standard key=value parameter. And there's no need of a DSL processor for this, you can set this in the cxf component