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

camel-main - Add support for property placeholders in #class factory method parameters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0, 3.4.4
    • Fix Version/s: 3.6.0, 3.4.5
    • Component/s: camel-main
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      camel.beans.mongo: '#class:com.mongodb.client.MongoClients#create("mongodb://mongoadmin:password@mongodb.mongodb:27017")'

      And if we want to use ENV variables for username and password then its currently not possible with

      "mongodb://env:XXX:env:YYY@mongodb.mongodb:27017"

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: