AWS 2 Simple Email Service (SES)
JVM since1.0.0 Native since1.0.0
Send e-mails through AWS SES service using AWS SDK version 2.x.
What’s inside
-
AWS Simple Email Service (SES) component, URI syntax:
aws2-ses:from
Please refer to the above link for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-aws2-ses</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
SSL in native mode
This extension auto-enables SSL support in native mode. Hence you do not need to add
quarkus.ssl.native=true
to your application.properties
yourself. See also
Quarkus SSL guide.
Additional Camel Quarkus configuration
Optional integration with Quarkus Amazon SES
If desired, it is possible to use the Quarkus Amazon SES extension in conjunction with Camel Quarkus AWS 2 Simple Email Service (SES). Note that this is fully optional and not mandatory at all. Please follow the Quarkus documentation but beware of the following caveats:
-
The client type
apache
has to be selected by configuring the following property:quarkus.ses.sync-client.type=apache
-
The
SesClient
has to be made "unremovable" in the sense of Quarkus CDI reference so that Camel Quarkus is able to look it up at runtime. You can reach that e.g. by adding a dummy bean injectingSesClient
:import javax.enterprise.context.ApplicationScoped; import io.quarkus.arc.Unremovable; import software.amazon.awssdk.services.ses.SesClient; @ApplicationScoped @Unremovable class UnremovableSesClient { @Inject SesClient sesClient; }