TransactionsEssentials

Spring Boot already has built-in integration with Atomikos TransactionsEssentials. Assuming your pom is already configured for basic Spring Boot, all you need to do extra is add the right "starter" dependency in your pom:

   <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-jta-atomikos</artifactId>
   </dependency>

Because of the way the boot starters work, this will pull in all Atomikos required dependencies into your project.

ExtremeTransactions

To use the commercial version of Atomikos, override the Atomikos version property in the generated Spring Boot pom.xml file:

Example: releases 5.0.x

<properties>
...
   <atomikos.version>5.0.78</atomikos.version>
</properties>

Example: releases 4.0.x

<properties>
...
   <atomikos.version>4.0.70</atomikos.version>
</properties>

Feel free to use whatever other 4.0 release you need.

Example: releases 3.9.x

<properties>
...
   <atomikos.version>3.9.34</atomikos.version>
</properties>

You will also need to setup your maven build to use our commercial maven repo (customer access only).

Configuring Spring Boot Logging

See https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html for how to configure the logging. See Configuring the Logs for what Atomikos log levels mean and do…

Configuring Atomikos properties in Spring Boot

See https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html for the Spring Boot equivalents of our JTA Properties. Here is an example:

spring:
  jta:
    atomikos:
      properties:
        max-timeout: 900000

Alternatively, just add a separate jta.properties file to your classpath.

Contact Us

Atomikos Corporate Headquarters
Hoveniersstraat, 39/1, 2800
Mechelen, Belgium

E info@atomikos.com
E sales@atomikos.com
T +3215613055

Subscribe to our newsletter

Never miss an update

Copyright 2019 Atomikos BVBA
This website is using cookies. More info. That's Fine