You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/04/11 13:33:00 UTC
[jira] [Created] (CAMEL-17939) camel-main - Configure camel.beans map style using square brackets
Claus Ibsen created CAMEL-17939:
-----------------------------------
Summary: camel-main - Configure camel.beans map style using square brackets
Key: CAMEL-17939
URL: https://issues.apache.org/jira/browse/CAMEL-17939
Project: Camel
Issue Type: Task
Components: camel-main
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 3.17.0
https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/How.20do.20I.20define.20Map.20property.3F
// create by class
main.addProperty("camel.beans.foo", "#class:java.util.HashMap");
main.addProperty("camel.beans.foo[database]", "mydb");
main.addProperty("camel.beans.foo[username]", "scott");
main.addProperty("camel.beans.foo[password]", "tiger");
Using square brackets is not support for camel.beans, but is in other places such as camel.components
--
This message was sent by Atlassian Jira
(v8.20.1#820001)