[ 
https://issues.apache.org/jira/browse/CAMEL-10329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502637#comment-15502637
 ] 

SunChaoqun commented on CAMEL-10329:
------------------------------------

BTW, if it can accept string as header value , it will be more convenient  . 
Thanks.

> 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("overr...@somesite.com"))
>                               .to("aws-ses:f...@somesite.com" + 
> "?amazonSESClient=#awsConn" + "&subject=AAA"
>                                               + "&to=t...@somesite.com" + 
> "&returnPath=x...@xxx.com")
> expected: send the email to overr...@somesite.com 
> actually: send the email to t...@somesite.com



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to