Apache Sling Commons Messaging

Clone this repo:

Branches

  1. 4cedf7d Updating badges for org-apache-sling-commons-messaging by Radu Cotescu · 10 months ago master
  2. 6773c3a SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 10 months ago
  3. a21e5af trivial: added license header to *.md files by Radu Cotescu · 1 year, 2 months ago
  4. f2af583 SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module by Radu Cotescu · 1 year, 2 months ago
  5. 25ba94e SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module by Radu Cotescu · 1 year, 2 months ago

Build Status License

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