Kotlin

Kotlin is a programming language which interoperates fully with Java and the JVM. As Axon is written in Java it can be used in conjunction with Kotlin too, offering a different feel when using the framework.

Some of Axon’s API’s work perfectly well in Java, but have a rather awkward feel when transitioning over to Kotlin. The goal of the Kotlin Extension is to remove that awkwardness, by providing inline and reified methods of Axon’s API.

Several solutions are currently given, which can roughly be segregated into the distinct types of messages used by Axon. This thus provides a Commands, Events and Queries section on this guide.

Experimental Release

Currently, the Kotlin Extension has been release experimentally (for example, release 0.1.0). This means that all implementations are subject to change until a full release (for example, a release 1.0.0) has been made.