An open API service indexing awesome lists of open source software.

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

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.

[![N|Solid](https://user-images.githubusercontent.com/2020370/44630207-8e653580-a977-11e8-8b87-0252ea94c636.jpg)]()

## 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
```