SLING-7214 - Add the LICENSE file to every module
1 file changed
tree: fde232e283a959ed9456f5e779ff1160173f5ffb
  1. src/
  2. LICENSE
  3. pom.xml
  4. README.md
README.md

Apache Sling Commons Messaging

This module is part of the Apache Sling project.

Simple API for sending message​s to recipient​s.

MessageService

  • send(String, String) - takes a message​ and a recipient, e.g.
    • send(“A Message to You, Rudy”, “rudy@ghosttown”) - send a mail to Rudy in Ghost Town
    • send(“Hello Apache!”, “+1.919.573.9199”) - send a fax to the ASF
  • send(String, String, Map) - takes a message, a recipient and additional data useful for the underlying implementation to process and/or send the message

Result<T>

  • getMessage():T - should return a serialized form of the sent message