Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17939

camel-main - Configure camel.beans map style using square brackets

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.17.0
    • camel-main
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: