https://github.com/sumedhe/python-middleware
A python based simple middleware
https://github.com/sumedhe/python-middleware
java message-queue middleware python service-directory
Last synced: 3 months ago
JSON representation
A python based simple middleware
- Host: GitHub
- URL: https://github.com/sumedhe/python-middleware
- Owner: sumedhe
- License: mit
- Created: 2018-08-26T01:16:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T17:39:51.000Z (about 7 years ago)
- Last Synced: 2025-01-01T07:23:33.861Z (over 1 year ago)
- Topics: java, message-queue, middleware, python, service-directory
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Middleware
A simple middleware that will register a service, lookup a service, handle multiple requests and facilitate the communication between the service consumer and the service provider.
[]()
## Start middleware
This will start the middleware and listen to client requests
```python
cd Middleware
python main.py
```
## Start sample server
This will start a sample server (gcd service).
In the initialization it sends a request to register it on the service directory
```python
cd Server
python gcd_service.py
```
## Start sample client
### Compile
```python
cd Client
javac Client.java
```
### Run example
Example: To get GCD value of 12 & 18
```python
java Client gcd 12 18
```