GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AxonIQ/code-samples: Multi-module project containing several Axon-based samples

BranchesTags
Open more actions menu

Latest commit

 

History

907 Commits
907 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mvn/wrapper
.mvn/wrapper
 
 
axon-spring-template
axon-spring-template
 
 
distributed-exceptions
distributed-exceptions
 
 
order-fulfillment-workflow
order-fulfillment-workflow
 
 
reset-handler
reset-handler
 
 
sequencing-policy
sequencing-policy
 
 
serialization-avro
serialization-avro
 
 
snapshots
snapshots
 
 
stateful-event-handler
stateful-event-handler
 
 
subscription-query-rest
subscription-query-rest
 
 
subscription-query-streaming
subscription-query-streaming
 
 
workflow-saga
workflow-saga
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.java-version
.java-version
 
 
README.md
README.md
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Code Samples

This repository contains several Axon Framework 5-based sample projects to explain specific topics. Axon usage extends itself from the repositories under the Axon Framework project, as well as the tools provided by AxoniQ like Axon Server.

Each Maven module within this project represents a different sample you can use, each with its own README.md explaining the intent and usage. Some of these modules can actually be run, while others are a plain set-up. The latter typically are samples that don't require to be ran for additional or much needed explanation. If a module can be run, you may expect a docker-compose.yml to set up the infrastructure in most cases, as well as a " Spring Boot"-based main class.

Down below is an exhaustive list of all the sample:

  1. Axon-Spring Template - Sample project providing the scaffolding for a simple Axon- and Spring-based application.
  2. Distributed Exceptions - Sample showing how to deal with exceptions in a distributed application.
  3. Order Fulfillment Workflow - Sample showing how to model an Order Fulfillment process with the AxoniQ Workflow Engine.
  4. Reset Handler - Sample showing how to reset a PooledStreamingEventProcessor.
  5. Serialization Avro - Sample showing usage of Apache Avro Commands/Events/Queries.
  6. Sequencing Policy - Sample showing how to set up a custom SequencingPolicy to adjust the event sequence for a PooledStreamingEventProcessor.
  7. Snapshots - Sample showing how to configure event-sourced entity snapshotting.
  8. Stateful Event Handler - Sample showing a stateful event handler that can be used as a replacement for sagas.
  9. Subscription Query - REST - Sample showing how to use Axon's subscription query cleanly in a REST-based controller.
  10. Subscription Query - Streaming - Sample showing how to use Axon's subscription query cleanly in a streaming-based controller.
  11. Workflow Saga - Sample showing a Saga-like process modelled with the AxoniQ Workflow Engine.

Topics now covered by the Axon Framework project itself

A few topics that used to live here as standalone samples now have more thorough, actively maintained examples in the AxonIQ/AxonFramework repository's examples/ directory. Rather than maintaining a second, thinner copy, we point to those instead:

  • Sagas - see the extension-workflow project and the automation patterns in examples/university-demo.
  • Multitenancy - see examples/university-multi-tenancy-examples.
  • Set-based validation - see CourseUniqueNameSetValidation in examples/university-demo.
  • Upcasting / event transformation - see examples/university-message-transformation.

About

Multi-module project containing several Axon-based samples

developer.axoniq.io/

Topics

cqrsdomain-driven-designevent-sourcingmessage-drivenmicroservicesmoduliths

Resources

Readme
Activity
Custom properties

Stars

91 stars

Watchers

5 watching

Forks

22 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.