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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0, 3.4.4
    • 3.6.0, 3.4.5
    • camel-main
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: