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.
Concepts
Each Pelix or OSGi 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 (Python) and for Cohorte Remote Services (Java).
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
Python implementation is based on requests.
Java implementation uses the builtin HTTP client. It requires the Felix HTTP service to work correctly.
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
Python 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.2.tar.gz
.
File metadata
- Download URL: Cohorte-Herald-0.0.2.tar.gz
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9c89025326861e25e5bd22285fd3b4fc225b59545f546908f7b4b02b23b7237 |
|
MD5 | 557c5c283aa8421de2ef501789066ccf |
|
BLAKE2b-256 | 1380c6735faf119fb35a8d6e50e166c581d2e617a5d74c54a20034644747a3e7 |
File details
Details for the file Cohorte_Herald-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: Cohorte_Herald-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 72.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f36d9a73ad8a8d9a27805c989d59912e6121081e39953af39250188983e3b3a |
|
MD5 | 41fea14609e4eba710bd9462c6a855cf |
|
BLAKE2b-256 | 3f04bd464c1cd16c5517efbb6f591a664c446f5d564f8aeb3b46c0e2fc6729d7 |