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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Cohorte-Herald-0.0.3.tar.gz
.
File metadata
- Download URL: Cohorte-Herald-0.0.3.tar.gz
- Upload date:
- Size: 49.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef843e4f89f0180bf53b7f5c4e2ecccf74dc47862bce2b088fb83852655e5d37 |
|
MD5 | 04fd5798385b72740f1eea0daaebe8ff |
|
BLAKE2b-256 | 15ba9cfad9c98fb8b977c933f53304fa78b0f162aa58bd08d9ad387de08ac5ea |
File details
Details for the file Cohorte_Herald-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: Cohorte_Herald-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 82.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f90112aff254c7babca8efe703e9a3c6d9f077dcfacedfc468b3e710a1235890 |
|
MD5 | a5e93637234dbe1f344b516369e3f53a |
|
BLAKE2b-256 | 20cebc54358a92d2219a812a73990f1cc9a632d84b800f1337a870da9ba46018 |