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

https://github.com/heshanera/enterpriseservicebus

Service Bus which enables multiple services to interact with each other. Implemented using Java Sockets, Java Native Interface (JNI) and Jython library. Can interact with Java, C++ and Python.
https://github.com/heshanera/enterpriseservicebus

cpp java java-native-interface java-sockets jython-library middleware python service-bus

Last synced: 19 days ago
JSON representation

Service Bus which enables multiple services to interact with each other. Implemented using Java Sockets, Java Native Interface (JNI) and Jython library. Can interact with Java, C++ and Python.

Awesome Lists containing this project

README

          

# EnterpriseServiceBus
Service Bus which enables multiple services to interact with each other. Implemented using java sockets, Java Native Interface (JNI) and jython library. Service Bus can interact with java, C++ and python.

## High-Level Architecture
![architecture](https://github.com/heshanera/EnterpriseServiceBus/blob/master/imgs/ServiceBus.png)

  
## How to Run

##### Go to the 'Demo' directory
cd Demo
##### Starting the serice bus:
java -jar ServiceBus.jar
##### Starting the client/s:
java -jar Client.jar

  
## Adding a Service

- Adding the configuration parameters of the service to 'EsbConfiguration.xml'

- #### Java
- Add the service to '/ServiceBus/src/services/javaServices'
- Add the service info to '/ServiceBus/src/services/JavaServiceDirectory.java'
- Compile

- #### Python
- Add the service to '/ServiceBus/src/services/PythonServices'
- Add the service info to '/ServiceBus/src/services/PythonServiceDirectory.java'
- Compile

- #### C++
- Add the service to '/ServiceBus/src/services/CppServices'
- Add the service info to '/ServiceBus/src/services/CppServices/CppServiceDirectory.cpp'
- Compile

  
## Commands

| Command | Description |
| ------------- |-------------|
| man | return the list of commands |
| man | return the service info |
| list | return the list of services |
| exit | disconnect from the Service Bus |
| ... | calling a service |