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.
cd Demo
java -jar ServiceBus.jar
java -jar Client.jar
-
Adding the configuration parameters of the service to 'EsbConfiguration.xml'
-
- Add the service to '/ServiceBus/src/services/javaServices'
- Add the service info to '/ServiceBus/src/services/JavaServiceDirectory.java'
- Compile
-
- Add the service to '/ServiceBus/src/services/PythonServices'
- Add the service info to '/ServiceBus/src/services/PythonServiceDirectory.java'
- Compile
-
- Add the service to '/ServiceBus/src/services/CppServices'
- Add the service info to '/ServiceBus/src/services/CppServices/CppServiceDirectory.cpp'
- Compile
Command | Description |
---|---|
man | return the list of commands |
man <serviceName> | return the service info |
list | return the list of services |
exit | disconnect from the Service Bus |
<serviceName> <param1> ... | calling a service |