iMashtak commented on PR #12786: URL: https://github.com/apache/camel/pull/12786#issuecomment-1908860360
This is just yet another DSL for Camel, nothing more. I looked at what is done in existing Camel Kotlin DSL and found that [Kotlin type-safe builders](https://kotlinlang.org/docs/type-safe-builders.html#how-it-works) are used for defining beans and REST parts of configuration and arent used in other places. "Why?" - i had thought. And made fully Kotlin-ish thing. Massiveness comes only from huge number of components and EIPs - code is just copy-paste. There is nothing you cant do in Kotlin with Camel cause of Java interop. But this PR makes Camel more "native" for Kotlin ecosystem of tools. Also it provides an abitily to define routes using only CamelContext as input, without need in explicit RouteBuilder instantiation. I dont think i *need* this PR, it may be considered as an experiment. So i consider the first question of that PR: is it suitable with Camel development vision? It not, PR should be rejected as irrelevant, i think. I may try to generate everything including EIPs code if you consider it as blocker. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org