You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mikael Koskinen <mi...@gmail.com> on 2023/08/19 06:38:25 UTC
Kamelets that use other kamelets?
Hi,
Should it be possible to use kamelets from other kamelets? I'm seeing some
errors, making it feel this isn't supported.
The use case is to to have a custom kamelet that handle logins etc. against
a particular API. Then I would like to have a set of more custom kamelets
which abstract away some of the details of the API.
But currently I can't get a simple custom kamelet to work if it tries to
use http-sink or any other "built in" kamelets.
Best regards,
Mikael
Re: Kamelets that use other kamelets?
Posted by Claudio Miranda <cl...@claudius.com.br>.
On Sat, Aug 19, 2023 at 3:38 AM Mikael Koskinen <mi...@gmail.com> wrote:
>
> Should it be possible to use kamelets from other kamelets? I'm seeing some
> errors, making it feel this isn't supported.
There is the action kamelet to be used as an intermediate step from
source to sink.
It's not what you request, but it's closer.
--
Claudio Miranda
claudio@claudius.com.br
http://www.claudius.com.br
Re: Kamelets that use other kamelets?
Posted by Pasquale Congiusti <pa...@gmail.com>.
Hi Michael,
it's a good question and ideally a great feature but actually this is not
feasible. I am not sure if it would be easy to implement such kind of
recursive feature, feel free to log an issue on Camel Jira project for that.
Pasquale.
On Sat, Aug 19, 2023 at 8:38 AM Mikael Koskinen <mi...@gmail.com> wrote:
> Hi,
>
> Should it be possible to use kamelets from other kamelets? I'm seeing some
> errors, making it feel this isn't supported.
>
> The use case is to to have a custom kamelet that handle logins etc. against
> a particular API. Then I would like to have a set of more custom kamelets
> which abstract away some of the details of the API.
>
> But currently I can't get a simple custom kamelet to work if it tries to
> use http-sink or any other "built in" kamelets.
>
> Best regards,
> Mikael
>