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

Component Properties aliases

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • camel-core, camel-main
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment