quickfixj-spring-boot-starter-docker-examples

QuickFixJ Spring Boot Starter Examples

License

License

Categories

Categories

Spring Boot Container Microservices Docker Virtualization Tools
GroupId

GroupId

io.allune
ArtifactId

ArtifactId

quickfixj-spring-boot-starter-docker-examples
Last Version

Last Version

2.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

quickfixj-spring-boot-starter-docker-examples
QuickFixJ Spring Boot Starter Examples

Download quickfixj-spring-boot-starter-docker-examples

How to add to project

<!-- https://jarcasting.com/artifacts/io.allune/quickfixj-spring-boot-starter-docker-examples/ -->
<dependency>
    <groupId>io.allune</groupId>
    <artifactId>quickfixj-spring-boot-starter-docker-examples</artifactId>
    <version>2.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.allune/quickfixj-spring-boot-starter-docker-examples/
implementation 'io.allune:quickfixj-spring-boot-starter-docker-examples:2.4.0'
// https://jarcasting.com/artifacts/io.allune/quickfixj-spring-boot-starter-docker-examples/
implementation ("io.allune:quickfixj-spring-boot-starter-docker-examples:2.4.0")
'io.allune:quickfixj-spring-boot-starter-docker-examples:jar:2.4.0'
<dependency org="io.allune" name="quickfixj-spring-boot-starter-docker-examples" rev="2.4.0">
  <artifact name="quickfixj-spring-boot-starter-docker-examples" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.allune', module='quickfixj-spring-boot-starter-docker-examples', version='2.4.0')
)
libraryDependencies += "io.allune" % "quickfixj-spring-boot-starter-docker-examples" % "2.4.0"
[io.allune/quickfixj-spring-boot-starter-docker-examples "2.4.0"]

Dependencies

compile (2)

Group / Artifact Type Version
io.allune : quickfixj-spring-boot-starter-example-server jar 2.4.0
io.allune : quickfixj-spring-boot-starter-example-client jar 2.4.0

Project Modules

There are no modules declared in this project.

Build Status Maven Central Apache 2 QuickFIX/J 2.2.0

Spring Boot Starter Examples for QuickFIX/J (Spring Boot 2)

Main project

Build the project

mvn clean install

Simple Server Example

The simple server example can be run directly from the IDE or in the command line:

java -jar simple-server/target/simple-server.jar

Simple Server with Application Listener Example

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

Simple Client Example

The simple client example can be run directly from the IDE or in the command line:

java -jar simple-client/target/simple-client.jar

Simple Client with Application Listener Example

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

Docker Examples

To build the docker containers:

mvn clean install -DskipDocker=false

Client-Server

Go to docker-server-client/src/main/docker and run:

docker-compose -f docker-compose.yml up -d

Client-Server with Failover

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

Versions

Version
2.4.0