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 2020/09/30 16:17:00 UTC

[jira] [Created] (CAMEL-15602) camel-main - Add support for property placeholders in #class factory method parameters

Claus Ibsen created CAMEL-15602:
-----------------------------------

             Summary: camel-main - Add support for property placeholders in #class factory method parameters
                 Key: CAMEL-15602
                 URL: https://issues.apache.org/jira/browse/CAMEL-15602
             Project: Camel
          Issue Type: New Feature
          Components: camel-main
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 3.6.0


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"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)