camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SunChaoqun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10329) Camel SES component when using URI option "to" it can be not overriden with 'CamelAwsSesTo' header
Date Mon, 19 Sep 2016 06:42:21 GMT
SunChaoqun created CAMEL-10329:
----------------------------------

             Summary: 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


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



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

Mime
View raw message