quickfixj-spring-boot-starter-example-server

QuickFixJ Spring Boot Starter Server Example

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

io.allune
ArtifactId

ArtifactId

quickfixj-spring-boot-starter-example-server
Last Version

Last Version

2.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

quickfixj-spring-boot-starter-example-server
QuickFixJ Spring Boot Starter Server Example

Download quickfixj-spring-boot-starter-example-server

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
io.allune : quickfixj-spring-boot-starter jar 2.4.0
io.allune : quickfixj-spring-boot-actuator jar 2.4.0
org.springframework.boot : spring-boot-starter-web jar 2.1.0.RELEASE

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 2.1.0.RELEASE

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
2.0.0
1.1.0
1.0.1
1.0.0