We have a requirement to send User's Messages/Notifications based on certain actions happening within our back-end, 6.4.4. Such as an approval or denial of certain request, or sending out update messages. Is there a way to make use of the Messaging API in order to dynamically send messages to Community Users?
Current approaches aware of:
Task/Touch UI messages/ AEM notification inbox. - This does not meet our requirement that needs the community user to see their message from the Published Site.
Custom Workflow Steps/E-mail - We'd like to make use of the built-in Messaging and/or Notification system as much as possible without sending the User messages outside of the system as much as a possible (unless they set that configuration).
We have an component based on HTL/USE-Pojo, and is looking for a way to send Community Messages to User's on the Publish site from within our Servlet that manages the request.
Did find within the Java Doc an Interface MessagingOperations from package "com.adobe.cq.social.messaging.client.endpoints", yet cannot find any examples of what the parameters are expecting as values (I.E: what props should be in the Map, ClientUtilities, or what should the SlingHttpServletRequest should include):