On-Her-Majesty-s-Secret-Service-system
Java Multithreading based Publish-Subscribe program that simulates one of the movies on James Bond series, Each message is delivered through the Message broker to the subscribers for each topic.
- Java - 8 Or 11
- Maven - version 3.6.3
Open cmd\terminal in the project directory and run the next commend:
mvn compile
mvn exec:java -Dexec.mainClass="bgu.spl.mics.application.MI6Runner" -Dexec.args="inputFile.json inventoryOutputFile.json diaryOutputFile.json"
The inputFile.json located in the repository as an example input for the program, we've also added a folder with an example output file. for every run of the program you must include an inputFile.json.
Contains the gadget available for the squed.
Contains the number of instances of each service in our program.
Part of the services, contains the missions and their details.
Contains our agents.
The program will start it's shuttdown proccess at the time given here.
Contains a diary log of the missions that the squad executed in the program time frame.
Contains the gadgets which the squad didn't use during their missions.
As part of our System Programing course we received this project as an assignment ##Goals
- Programing a Multithreading project.
- Managing concurrency issues.
- Deadlocks.
- Keeping the code as efficient as possible by making it as concurrent as possible without compromising the code correctness.
Created by Itamar Lederman & Shimi Nagar