Questions tagged [axon]

Axon consists of two main topics: (1) Axon Framework and (2) Axon Server. Axon Framework is a Java based open source framework providing building blocks to support developers with Domain-Driven Design, CQRS and Event Sourcing in their application. Axon Server provides a dedicated message routing solution and Event Store, further supporting a micro services oriented style of software development.

Through Axon, we can refer to two major topics: Axon Framework and Axon Server.

Axon Framework is a Java based open source framework providing building blocks to support developers with Domain-Driven Design, CQRS and Event Sourcing in their application.

Axon Server provides a dedicated routing solution and Event Store, further supporting a micro services oriented style of software development.

578 questions
0
votes
2 answers

How to see what fields are available in Axon databases?

Completely new to Axon here. I have a class defined in Kotlin: data class ProjectedQuote( @Id var submissionId: String, var periodId: String, var accountNumber: String ) It gets instantiated and updated by event handlers,…
Jonathan M
  • 17,145
  • 9
  • 58
  • 91
0
votes
2 answers

Interaction between different Aggregates in CQRS

So I'm a bit new with CQRS (not totally a beginner though). I'm trying to understand the best practices when it comes to aggregates interaction. I read a bit about using Integration Events (instead of Domain Events) in these situation, also a bit…
Ali_Nass
  • 838
  • 1
  • 9
  • 27
0
votes
1 answer

Spring Boot with mongo from axonIQ 3 to 4

So I was trying to move my module from using axonIQ 3.4 to 4.1, I'm using a mongodb to save the events rather than the axon server. In axon 3 you don't need to use the axon server whereas in the 4 release it will be the default unless you exclude it…
Ali_Nass
  • 838
  • 1
  • 9
  • 27
0
votes
2 answers

No EntityManager with actual transaction when publish event to Saga

I'm using "axon 4.0.3 + Spring Boot 2 + Spring Data (PostgreSQL)" default configuration. Having published event to the EventStore and waiting for it to be catched by @SagaEventHandler I received the following…
Sergey Bulavkin
  • 2,325
  • 2
  • 17
  • 26
0
votes
1 answer

Tutorials for connecting Angular web service to Axon Server?

I'd like to deploy my UI from Angular, and the Angular server needs to connect with the Axon Server, putting commands on the command bus. Is there an API reference for Axon Server? Are there any tutorials out there describing how to make a call…
Jonathan M
  • 17,145
  • 9
  • 58
  • 91
0
votes
2 answers

Axon creating aggregate inside saga

I'm not sure how to properly ask this question but here it is: I'm starting the saga on specific event, then im dispatching the command which is supposed to create some aggregate and then send another event which will be handled by the saga to…
PolishCivil
  • 131
  • 2
  • 13
0
votes
1 answer

Axon Saga (4.0) does not preserve private properties across @SagaEventHandler methods

I have this code: @Saga @Slf4j public class ActionsSaga2 { @Autowired transient CommandGateway commandGateway; @Autowired transient ActionService actionService; String id; ApplicationState state; @StartSaga …
Tomáš Mika
  • 210
  • 1
  • 13
0
votes
1 answer

Impose certain order for processing the AXON @EventHandler's

I have two Axon @EventHandler's that need to be processed in a certain order (they have DIFFERENT events to handle). I have read that i need to: annotate all involved event handlers with org.axonframework.config.ProcessingGroup (order seems…
bluesony
  • 459
  • 1
  • 5
  • 28
0
votes
1 answer

Axon4 - kafka ext: Query event not invoked

Command side events are getting processed but query (projector) is not invoked. Using axon kafka extension 4.0-RC2. Please check below code reference. AxonConfig import org.springframework.context.annotation.Configuration; @Configuration public…
0
votes
1 answer

Change a node's Instance Name when connecting to Axon Server

I'm currently putting together integration tests for a Spring Boot / Axon application. In one of these tests, it (a node) creates another node via SpringApplicationBuilder (under a different profile), connecting to the same Axon Server instance as…
Morgan
  • 303
  • 2
  • 15
0
votes
2 answers

CQRS command for processing and not for updating aggregate

I have a project developed using Domain driven design principles. It is CQRS based using axon framework. I have a scenario where I need where on a particular command I need to generate a document in the aggregate using aggregate's state. I do not…
Ishrat Jahan
  • 136
  • 5
0
votes
1 answer

Axon, event store and sql insert

We use Axon 2 to our CQRS-ES For some (very bad) reasons , we are force to update the content of the eventstore table directly in the database, without using axon. Then we relaunch the axon denormalizer to replay the event and integrate the change…
sab
  • 4,352
  • 7
  • 36
  • 60
0
votes
1 answer

Saga association fails because Scope is not active

As described in the docs, I am associating my Saga object with a specific event property. The SagaLifecycle.associateWith method is called from within the starting saga event handler method: @StartSaga @SagaEventHandler(associationProperty =…
Double M
  • 1,449
  • 1
  • 12
  • 29
0
votes
1 answer

Axon - The type DefaultMongoTemplate is deprecated

I am developing Spring Boot + AXON example from the link: https://blog.novatec-gmbh.de/event-sourcing-spring-boot-axon/ and just updated Spring Boot version 2.1.0.RELEASE. Multiple markers at this line - The type DefaultMongoTemplate is…
PAA
  • 1
  • 46
  • 174
  • 282
0
votes
2 answers

The constructor SimpleCommandBus() is not visible -Axon

I am developing Spring Boot + Axon example. I have taken reference from https://www.baeldung.com/axon-cqrs-event-sourcing. In this example, when I updated axon-core version to 4.0-M2. When I updated Axon version I see that my main method is giving…
PAA
  • 1
  • 46
  • 174
  • 282