For the latest releases of our product, you have to include our custom starter:
<dependency> <groupId>com.atomikos</groupId> <artifactId>transactions-spring-boot-starter</artifactId> </dependency>
Spring Boot already has built-in integration with older versions of 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.
To use the commercial version of Atomikos, override the Atomikos version property in the generated Spring Boot pom.xml file:
<properties> ... <atomikos.version>5.0.78</atomikos.version> </properties>
<properties> ... <atomikos.version>4.0.70</atomikos.version> </properties>
Feel free to use whatever other 4.0 release you need.
<properties> ... <atomikos.version>3.9.34</atomikos.version> </properties>
logging.level.com.atomikos=DEBUGSee Configuring the Logs for what Atomikos log levels mean and do… By default, Spring Boot logs to the console. To configure a file destination (e.g., 'atomikos.log') you need to add the following in your application.properties file:
logging.file=atomikos.log
Be careful if you add logger-framework specific configuration files because the results may be confusing.
spring: jta: atomikos: properties: max-timeout: 900000
atomikos: properties: max-timeout: 900000
Alternatively, just add a separate jta.properties file to your classpath.