[ 
https://issues.apache.org/jira/browse/CAMEL-20698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841092#comment-17841092
 ] 

Claus Ibsen commented on CAMEL-20698:
-------------------------------------

The "property" is there because of XML DSL, where you need to define them as

<properties>
<property key="aaa" value="blah">
<property key="bbb" value="123">
</properties>

And in yaml you can use key: value style:

properties:
   aaa: blah
   bbb: 123


https://camel.apache.org/components/4.4.x/others/java-xml-io-dsl.html

> YAML DSL Consistency question - RegistryBeanDefinition vs 
> TemplatedRouteBeanDefinition
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20698
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20698
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-yaml-dsl
>    Affects Versions: 4.5.0
>            Reporter: Marat Gubaidullin
>            Priority: Minor
>         Attachments: Screenshot 2024-04-19 at 5.05.05 PM-1.png, Screenshot 
> 2024-04-19 at 5.05.05 PM.png, Screenshot 2024-04-19 at 5.05.52 PM.png
>
>
> *beans* in xxx{*}.camel.yaml{*}  is *RegistryBeanDefinition*
> *beans* in *kamelet* template (in my previous post) is 
> *TemplatedRouteBeanDefinition*
> while they are both aimed to define beans they have different properties and 
> even properties formats.
> !Screenshot 2024-04-19 at 5.05.52 PM.png|width=388,height=772!
> !Screenshot 2024-04-19 at 5.05.05 PM.png|width=645,height=582!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to