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)

Reply via email to