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

Claus Ibsen commented on CAMEL-26035:
-------------------------------------

Pull request: https://github.com/apache/camel/pull/28365 (bug fixes for eleven 
AWS components, one commit; the behaviour changes are in the 4.24 upgrade 
guide).

_Claude Code on behalf of davsclaus_

> camel-aws2-ses - the Java example of the docs does not work
> -----------------------------------------------------------
>
>                 Key: CAMEL-26035
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26035
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 4.18.0, 4.22.0, 4.23.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 4.24.0
>
>
> Found while adding the catalog body types of aws2-ses (CAMEL-24961).
> h4. 1. The Java example of the docs does not work
> The Java tab of the example ({{aws2-ses-component.adoc}}, lines 122-123) uses 
> {{SesConstants}}, which does not exist ({{Ses2Constants}}), and sets the To 
> header to {{Collections.singletonList(...)}}. The producer reads the header 
> as a String ({{Ses2Producer}}, main 07d2e7a987bc, line 187), so the address 
> becomes "[[email protected]]". The XML and YAML tabs set text and work. Read 
> in the code, not run.
> *Proposed change*: fix the example.
> h4. Also read in the code, not run
> * For a raw mail (a jakarta.mail Message body) the cc and bcc headers and 
> options are not used ({{Ses2Producer}}, line 92).
> * A null body reaches SES with no text and no check on the Camel side; the 
> emulator accepted it, real SES requires the text.
> * Typo "TThe" in {{Ses2Constants}}, line 48.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to