AWS SES bounce notification using springboot java - spring-boot

We are sending emails using AWS SES. I know how to configure notifications for bounces and complaints using SNS. Infact I have configured SNS to deliver those notifications using https endpoint.
I have a springboot rest service that I would like to receive those notifications in. Can anybody point to a sample springboot rest controller to receive and process these notifications? Any help will be greatly appreciated.

Related

How to receive data from aws sqs in laravel?

I am trying to implement amazon sp-api notifications in the docs. They have written that they will send a notification to destination aws sqs. I am trying to figure out how I will get that notification from sqs. I have tried research about it but not found any luck.
is there any can please explain?

How does the client part communicate with a service with RabbitMQ?

I am currently learning the microservice architecture with rabbitMQ to communicate between them. I got the idea to manage the communication between different microservices but I don't really find out how does the client can manage to communicate with my microservices.
For example if I create a user via my web app, do I have to send the request to the exchange directly that will send it to the account service (how can I send it to my exchange?) or do I need a sort of API Gateway to get all my request and then transfer to the exchange?
Thanks in advance,
Yes, you need a gateway of some sort. More info here: https://microservices.io/

Does Amazon SNS support token-based authentication with the Apple Push Notification Service?

I am looking to have a Push Notification service handling both FCM and Apple Push Notifications. I am looking into Amazon SNS but I can't figure out from the docs whether they support Token-Based authentication for Apple Push Notifications Service.
Amazon SNS now supports APNS token-based authentication. https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-sns-token-authentication-api-mobile-notifications/
Amazon SNS currently does not support token based APNS. Take a look on Firebase, it should be able to handle both.
Amazon Pinpoint is capable of using .p8 files when sending messages over APNS.

Add web hook for inbox emails to company gmail account

How can I integrate email inbox from company account to my application? Gems like mail_room or gmail can connect to one mailbox given that you specify them.
I'm thinking about a web hook like a notification api, but I can't figure out how it works.
How can I add a web hook for inbox emails in company's gmail account? When a message is received in user#company.com or support#company.com I need to have a notification sent.
Check the Push Notifications for Gmail API.
1.Initial Cloud Pub/Sub Setup
The Gmail API uses the Cloud Pub/Sub API to deliver push
notifications. This allows notification via a variety of methods
including webhooks and polling on a single subscription endpoint.
Prerequisites
In order to complete the rest of this setup, make sure you fulfill the
Cloud Pub/Sub Prerequisites and then set up a Cloud Pub/Sub client.
Create a topic
Using your Cloud Pub/Sub client, create the topic that the Gmail API
should send notifications to. The topic name can be any name you
choose under your project (i.e. matching projects/myproject/topics/*,
where myproject is the Project ID listed for your project in the
Google Developers Console).
We recommend that you use a single topic for all Gmail API push
notifications for your application, due to Cloud Pub/Sub limits on the
number of topics.
Create a subscription
Follow the Cloud Pub/Sub Subscriber Guide to set up a subscription to
the topic that you created. Configure the subscription type to be
either a webhook push (i.e. HTTP POST callback) or pull (i.e.
initiated by your app). This is how your application will receive
notifications for updates.
more on the guide for additional info.

Is there any api to get keystone notification events?

The only information I found is that you can view those events through ceilometer or RabbitMQ. Would be nice if I can get those events directly through APIs.
Each of the openstack services have 'exchanges' and 'topics' in rabbitmq
you can use Rabbitmq to connect to these exchanges and topics to get notifications via messages.
Unfortunately, currently there is no way to get notifications from individual OpenStack services.

Resources