[ https://issues.apache.org/jira/browse/CAMEL-15483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187468#comment-17187468 ]
Claus Ibsen commented on CAMEL-15483: ------------------------------------- The examples are correct they define a map or list at the root level (no foo indirection). > Camel-main - Update the bean documentation > ------------------------------------------ > > Key: CAMEL-15483 > URL: https://issues.apache.org/jira/browse/CAMEL-15483 > Project: Camel > Issue Type: Task > Components: documentation > Affects Versions: 3.3.0 > Reporter: Ganesh > Priority: Minor > > The camel bean docs needs to be little bit updated, > https://camel.apache.org/components/latest/others/main.html#_defining_a_map_bean > > Bean reference is missing > > {code:java} > camel.beans.foo.company[name] = Acme > camel.beans.foo.company[country] = USA > camel.beans.foo.company[zip] = 92010{code} > > where 'foo' is the bean reference name. > https://camel.apache.org/components/latest/others/main.html#_defining_a_list_bean > camel.beans.foo.projects[0] = Camel > camel.beans.foo.projects[1] = Kafka > camel.beans.foo.projects[2] = Quarkus -- This message was sent by Atlassian Jira (v8.3.4#803005)