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

Allow to configure multiple components of same type in application.properties

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.x
    • camel-main
    • None
    • Unknown

    Description

      See if we can make it easier to define 2 JMS or 2+ SQL components with their own configuration and do all of this via application.properties.

      The default camel.component.sql is for the default component only.

      So something

      camel.component.mysql.alias=sql
      camel.component.mysql.batch=123

      camel.component.oracle-db.alias=sql
      camel.component.oracle-db.batch=444

      So the name of the component needs to use a non OOTB component name and have an alias option that refers to the actual component.

      This does impact tooling as they dont understand these "fake components" so maybe we need to put this into another prefix to avoid confusion.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: