The simple server example can be run directly from the IDE or in the command line:
java -jar simple-server/target/simple-server.jar
The simple server example can be run directly from the IDE or in the command line:
java -jar simple-server-listener/target/simple-server-listener.jar
The simple client example can be run directly from the IDE or in the command line:
java -jar simple-client/target/simple-client.jar
The simple client example can be run directly from the IDE or in the command line:
java -jar simple-client-listener/target/simple-client-listener.jar
To build the docker containers:
mvn clean install -DskipDocker=false
Go to docker-server-client/src/main/docker
and run:
docker-compose -f docker-compose.yml up -d
Go to docker-server-client-with-failover/src/main/docker
and run:
docker-compose -f docker-compose-failover.yml up -d
If you want to see the failover in action, kill the first server container and see the client reconnecting to the second server after around a minute or so:
docker rm -f quickfixj-spring-boot-server