Skip to main content

An easy-to-use messaging framework

Project description

Herald is an easy-to-use messaging framework. It allows Pelix/iPOPO and Java OSGi frameworks to communicate with each other using messages, without worrying about the underlying protocol used for transmission.

The project is hosted on GitHub isandlaTech/cohorte-herald. Issues and questions can be posted in project Issues section.

Concepts

Each Pelix framework instance is considered as a peer. A peer has a unique ID and a human-readable name. An application ID is associated to each peer: only peers with the same application ID can discover each other.

A peer can send a message to another peer or to a group of peers. A message has a subject, which listeners register to, and a content.

Remote Services

Herald provides an RPC transport implementations for Pelix Remote Services.

Transports

Currently, Herald supports two protocols in Python, and one in Java:

  • HTTP (Python & Java):
    • Each message is sent as a POST request.
    • Peer discovery is based on a home-made multicast heart beat protocol
    • Best transport for LAN applications and for single-peer messages
    • Implementation is based on requests.
  • XMPP (Python only, for now):
    • Each message is a either a message or a group message
    • Discovery is based on a Multi-User Chat room (XEP-0045)
    • Best transport for distributed applications and for group messages
    • Implementation is based on SleekXMPP

License

Cohorte Herald is released under the terms of the Apache Software License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Cohorte-Herald, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size Cohorte_Herald-0.0.3-py2.py3-none-any.whl (82.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size Cohorte-Herald-0.0.3.tar.gz (49.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page