Skip to content

Instantly share code, notes, and snippets.

@forketyfork
forketyfork / pom.xml
Created February 27, 2020 06:43
XA with Spring Boot: Camel dependencies
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-boot-dependencies</artifactId>
<version>2.24.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@forketyfork
forketyfork / pom.xml
Created February 27, 2020 06:41
XA with Spring: Camel components and Database
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-sql</artifactId>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-camel</artifactId>
</dependency>
@forketyfork
forketyfork / pom.xml
Created February 27, 2020 06:38
XA with Spring Boot: Starters
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jta-atomikos</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
</dependency>
Java(TM) SE Runtime Environment, 1.7.0_51-b13
Java HotSpot(TM) 64-Bit Server VM, 24.51-b03
Mac OS X, 10.9.2, x86_64
Burning up to figure out the exact CPU count....... done!
Running with 1 threads and [-client]:
granularity_currentTime: 993598,116 +- 812,330 ns
granularity_nanotime: 1007,995 +- 2,673 ns
latency_currentTime: 42,144 +- 15,816 ns