[jira] [Commented] (CAMEL-10329) Camel SES component when using URI option "to" it can be not overriden with 'CamelAwsSesTo' header

2016-09-19 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-10329:
-

Yeah you can likely just iterate it, then you can use a string with a single 
value and separate with comma

ObjectHelper.createIterator has a method that can help with this which we use 
in other use-cases.

> 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("").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)


[jira] [Commented] (CAMEL-10329) Camel SES component when using URI option "to" it can be not overriden with 'CamelAwsSesTo' header

2016-09-19 Thread SunChaoqun (JIRA)

[ 
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("").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)


[jira] [Commented] (CAMEL-10329) Camel SES component when using URI option "to" it can be not overriden with 'CamelAwsSesTo' header

2016-09-19 Thread Andrea Cosentino (JIRA)

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

Andrea Cosentino commented on CAMEL-10329:
--

Thanks for spotting anyway :-)

> 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("").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)