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
1 answer

I am trying to do update on query side

What I am doing is that i am trying to get the aggregate from repository and then process that particular event and mark it as a new event...so that query recognizes that it is a update event. But the problem is that I am not able to get that…
A S
  • 75
  • 8
0
votes
2 answers

How publish event for more instance from command side axon

I tried to implement application with cqrs and event sourcing with axon framework. I implement command side and query part as a separate micro-service and replicate(scale up) query micro-service. I use message broker as RabbitMq. If the command part…
wthamira
  • 2,032
  • 2
  • 21
  • 40
0
votes
1 answer

Axon Framework- is it possible to have an aggregate handle commands from multiple sagas?

I'd like to use one aggregate to handle commands from multiple sagas. Unfortunately, if a saga sends a command while the aggregate is busy handling another command, the command is lost with an AggregateNotFoundException written to the log. I can use…
akir94
  • 55
  • 1
  • 8
0
votes
2 answers

Route all events from CommandGateway to single event handler

I am implementing JGroups with AxonFramework and I am referring to this link. I made some changes in the code and running the project without Docker. Following is my code - Main Class - public class ClusterRunner { public static void…
abi_pat
  • 572
  • 2
  • 12
  • 35
0
votes
1 answer

Axon: Eventsourced Aggregate none state changing event

I have a usecase where I would like to publish a non-state-chaninging event as a trigger. In the vast majority of cases, the Aggregates will publish events by applying them. However, occasionally, it is necessary to publish an event (possibly from…
Doe Johnson
  • 1,374
  • 13
  • 34
0
votes
1 answer

Axon ReplayingCluster with JTA transaction

For my Java EE (7) project I want to use the Axon framework. One of the parameters of the Axon ReplayingCluster is a TransactionManager, but Axon only supports NoTransactionManager and SpringTransactionManager. But if i'm not mistaken with JTA,…
Albert Bos
  • 2,012
  • 1
  • 15
  • 26
0
votes
1 answer

Axon framework - using separate Mongo collection of domain events for each aggregate root

We worry about performance of using single Mongo collection (domainevents) for domain events. Is it good idea to split domainevents collection to separate collections for each aggregate root? We have query model, that is generated based on events…
Martin Obrátil
  • 214
  • 3
  • 9
0
votes
1 answer

How to differentiate null response from timeout using Axon Framework in Java

I am sending a command and expecting a result via CommandGateway.sendAndWait(Object command, long timeout, TimeUnit unit) method : Greeting greeting = commandGateway.sendAndWait(new GenericCommandMessage(cmd), 1000,…
Sorin J
  • 542
  • 1
  • 4
  • 14
0
votes
0 answers

AOP integration with AXON framework

I am using axonframework 2.3.1 , for unit testing the application there is a Aggregate class which contain some event handlers. now i want that before inovking the commandhandler method contained in the Aggregate class i want to apply aop tracing…
Anand Kadhi
  • 1,790
  • 4
  • 27
  • 40
0
votes
1 answer

CQRS and Race : how to handle race requirements

While there are articles saying that race conditions do not occur in business world, and it the solution that what we need to look, I am not sure it is the case. I have a need of capacity and do event ticketing. When the demand for the event is high…
ubreddy
  • 815
  • 2
  • 8
  • 19
-1
votes
2 answers

Design guides for Event Sourced microservices

I am thinking what is the best way to structure your micro-services, in the past the team I was working with used Axon Framework and PostgreSQL and each microservice had its own event store in the PostgreSQL database, then we built communication…
OMG-1
  • 498
  • 1
  • 6
  • 20
-1
votes
1 answer

AxonIQ AxonFramework MongoEventStorageEngine framework table creation on business DB

I am using AxonIQ AxonFramework version 4.5.3 with Spring Boot and custom event store. I'm using MongoEventStorageEngine and configured a separate MongoDB database for the EventStorage. I am doing some business logic with my business database…
-1
votes
1 answer

Connecting to AxonServer node [192.168.99.100:8124] failed: INTERNAL: Panic! This is a bug

I use the axon server as a remote server in spring boot. not in the localhost. but when the spring boot application connects to the server it fails and show the following error. Connecting to AxonServer node [192.168.99.100:8124] failed: INTERNAL:…
-1
votes
1 answer

Need to define command handler and EventSourcingHandler in the children entity

*I am trying to migrate command handlers and EventSourcingHandler to the mapping class to tableB class. Also I am defining my command handler and event as follow.Please suggest how can I migrate the command handlers from TableA to TableB class…
Misthi
  • 33
  • 10
-1
votes
1 answer

Insert into domainevententry table and publish to kafka topic in axon framework

I know automatic insertion happens to domainevententry table as soon as we do aggregatelifecycle.apply(event) in axon framework what action triggers an insert in domainevententry table and what triggers a publish to a kafka topic in axon framework…
1 2 3
38
39