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.

Source Distribution

Cohorte-Herald-0.0.3.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

Cohorte_Herald-0.0.3-py2.py3-none-any.whl (82.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Cohorte-Herald-0.0.3.tar.gz.

File metadata

File hashes

Hashes for Cohorte-Herald-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ef843e4f89f0180bf53b7f5c4e2ecccf74dc47862bce2b088fb83852655e5d37
MD5 04fd5798385b72740f1eea0daaebe8ff
BLAKE2b-256 15ba9cfad9c98fb8b977c933f53304fa78b0f162aa58bd08d9ad387de08ac5ea

See more details on using hashes here.

File details

Details for the file Cohorte_Herald-0.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Cohorte_Herald-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f90112aff254c7babca8efe703e9a3c6d9f077dcfacedfc468b3e710a1235890
MD5 a5e93637234dbe1f344b516369e3f53a
BLAKE2b-256 20cebc54358a92d2219a812a73990f1cc9a632d84b800f1337a870da9ba46018

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page