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

Camel SES component when using URI option "to" it can be not overriden with 'CamelAwsSesTo' header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.17.3
    • None
    • camel-aws
    • None
    • Unknown

    Description

      When I am using URI option "to" it can be not overriden with 'CamelAwsSesTo' header.

      BTW , CamelAwsSesSubject header works

      Java DSL:
      from("xxxx").setBody()
      .constant("Hello").setHeader("CamelAwsSesSubject", constant("BBB"))
      .setHeader("CamelAwsSesTo", constant("override@somesite.com"))
      .to("aws-ses:from@somesite.com" + "?amazonSESClient=#awsConn" + "&subject=AAA"
      + "&to=to@somesite.com" + "&returnPath=xxx@xxx.com")

      expected: send the email to override@somesite.com

      actually: send the email to to@somesite.com

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            sunchaoqun SunChaoqun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: