This project provides Spring Boot auto-configuration and lifecycle management for the QuickFIX/J FIX protocol engine.
It can create either a QuickFIX/J Acceptor or Initiator, supply the standard supporting components, and start and stop the connector with the Spring application context.
In starter property names, server means QuickFIX/J Acceptor and client means QuickFIX/J Initiator.
The current release is 4.3.0 for Spring Boot 4.0 and Java 17 or later.
The main branch is preparing starter 4.4.x for Spring Boot 4.1.
See the compatibility matrix before upgrading between starter lines.
The following example selects FIX 4.4.
Replace quickfixj-messages-fix44 with the message artifact required by your sessions.
Import the starter POM to use its managed QuickFIX/J version, then add the starter and the required FIX message artifact:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.allune</groupId>
<artifactId>quickfixj-spring-boot-starter</artifactId>
<version>4.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.allune</groupId>
<artifactId>quickfixj-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.quickfixj</groupId>
<artifactId>quickfixj-messages-fix44</artifactId>
</dependency>
</dependencies>FIX message artifacts are optional starter dependencies and are not added automatically. This keeps applications free to include only the protocols they use. See Getting started for the complete artifact list and dependency alternatives.
A regular Spring Boot application is sufficient:
@SpringBootApplication
public class FixApplication {
public static void main(String[] args) {
SpringApplication.run(FixApplication.class, args);
}
}The starter supplies an Application, MessageStoreFactory, LogFactory, MessageFactory, connector, and lifecycle manager unless the application provides replacements.
Add the following application properties:
quickfixj.server.enabled=true
quickfixj.server.config=classpath:quickfixj-server.cfgCreate src/main/resources/quickfixj-server.cfg:
[default]
ConnectionType=acceptor
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
UseDataDictionary=Y
[session]
BeginString=FIX.4.4
SenderCompID=EXECUTOR
TargetCompID=CLIENT
SocketAcceptPort=9876Add the following application properties:
quickfixj.client.enabled=true
quickfixj.client.config=classpath:quickfixj-client.cfgCreate src/main/resources/quickfixj-client.cfg:
[default]
ConnectionType=initiator
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
ReconnectInterval=5
SocketConnectHost=localhost
UseDataDictionary=Y
[session]
BeginString=FIX.4.4
SenderCompID=CLIENT
TargetCompID=EXECUTOR
SocketConnectPort=9876Run the application normally. By default the connector starts with the Spring context, uses in-memory message storage, logs to the screen, and publishes QuickFIX/J callbacks as Spring application events.
-
Getting started — dependency selection, role setup, and the first application.
-
Configuration reference — configuration sources, properties, concurrency, dynamic sessions, placeholders, and inline settings.
-
Customization — application callbacks, bean overrides, and
QuickFixJTemplate. -
Operations and Actuator — endpoints, health indicators, JMX, and endpoint exposure.
-
Migration — compatibility notes and behavior changes between starter versions.
-
Examples — runnable example projects by scenario.
-
Documentation index — all user and maintainer documentation.
QuickFIX/J session settings such as schedules, persistence, validation, networking, and SSL are documented by the upstream QuickFIX/J configuration guide.
The project actively maintains main for Spring Boot 4 and maintains the 3.x branch for compatible high-value and security fixes.
See the roadmap, support policy, and contribution guide.
Report suspected security vulnerabilities through the private process in the security policy, not through a public issue.
The QuickFIX/J Spring Boot Starter is released under the Apache License 2.0.
This project includes software developed by the QuickFIX/J project.