[
https://issues.apache.org/jira/browse/CAMEL-10329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
SunChaoqun closed CAMEL-10329.
------------------------------
Resolution: Not A Bug
Sorry , I found the reason , the value of the contant must be a List<String> ,
I gave the value which is string , so It ignored the header of values .
> Camel SES component when using URI option "to" it can be not overriden with
> 'CamelAwsSesTo' header
> --------------------------------------------------------------------------------------------------
>
> Key: CAMEL-10329
> URL: https://issues.apache.org/jira/browse/CAMEL-10329
> Project: Camel
> Issue Type: Bug
> Components: camel-aws
> Affects Versions: 2.17.3
> Reporter: SunChaoqun
> Assignee: Andrea Cosentino
>
> 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("[email protected]"))
> .to("aws-ses:[email protected]" +
> "?amazonSESClient=#awsConn" + "&subject=AAA"
> + "&[email protected]" +
> "&[email protected]")
> expected: send the email to [email protected]
> actually: send the email to [email protected]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)