Unsupported field: constructors #1154
-
Hello! I'm trying to build a custom kamelet but when I add a bean to the kamelet and run the project, I get an error Unsupported field: constructors. The generated yaml looks like this: If I do the same in camel route it works fine. What am I doing wrong? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@davsclaus should beans in Kamelets behave the same as beans in plain yaml DSL and support |
Beta Was this translation helpful? Give feedback.
-
Constructors to beans in yaml dsl is rather new. Are you perhaps using Camel K by any chance as it tend to be using an older Camel version. Also Karavan 4.4 is on the way that comes with latest Camel 4.4.0 release, you can try when its released soon. |
Beta Was this translation helpful? Give feedback.
-
Okay constructors is not supported in Kamelets at this time |
Beta Was this translation helpful? Give feedback.
Okay constructors is not supported in Kamelets at this time