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

Component Properties aliases

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: camel-core, camel-main
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      For some components such as those related to AWS service, each component has its own authentication configuration option so in case you want to use multiple services in the same integration, then you'll end up having to repeat them, like:

      # S3
      camel.component.aws-s3.access-key={{env:AWS_ACCESS_KEY}}
      camel.component.aws-s3.secret-key={{env:AWS_SECRET_KEY}}
      camel.component.aws-s3.region={{env:AWS_REGION}}
      
      # SNS
      camel.component.aws-sns.access-key={{env:AWS_ACCESS_KEY}}
      camel.component.aws-sns.secret-key={{env:AWS_SECRET_KEY}}
      camel.component.aws-sns.region={{env:AWS_REGION}}
      

      So I think it would be nice to have an option to define component properties aliases so we can rewrite the configuration above like:

      aws.access-key={{env:AWS_ACCESS_KEY}}
      aws.secret-key={{env:AWS_SECRET_KEY}}
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: