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

public org.demo.ComplaintQueryObject org.demo.DemoComplaintsApplication$ComplaintAPI.find(java.lang.String) mapped

I am developing Spring Boot + Axon + CQRS example. In this example, while starting the main method, I get the below error. Looks like String cant be used in place of the ID. I tried to convert String to ID but it doesn't worked well. Could you…
Jeff Cook
  • 7,956
  • 36
  • 115
  • 186
0
votes
2 answers

How can i with Axon re-initialize some value with the same first InitAvailableQuantityCommand?

assume we have an stock. this stock should persist product id and available quantity. the user of this stock can frequently update(InitAvailableQuantityCommand) available quantity. if some product has been sold, our system will get a…
user1167253
  • 813
  • 1
  • 11
  • 27
0
votes
0 answers

axon org.axonframework.commandhandling.NoHandlerForCommandException: No node known to accept

When trying to implement a DistributedCommandBus using Spring Cloud, I am getting the following error intermittently. I have reason to believe that there is some sort of race condition happening with the auto-configuration of my aggregate root…
0
votes
1 answer

Issues reading events from RabbitMQ queue on Axon 3.3.5

Using Axon 3.3.5, I am trying to read events from an AMQP queue. /** * AMQP subscribing */ @Bean SpringAMQPMessageSource notificationsEventsQueue(Serializer serializer) { return new SpringAMQPMessageSource(serializer) { @Override …
Marcos J.C Kichel
  • 6,887
  • 8
  • 38
  • 78
0
votes
3 answers

Events from AxonDB eventstore do not arrive in my TrackingEventProcessor

I'm currently trying to read all events from an AxonDB eventstore and export them to a CSV file. The chosen approach is to create an EventHandler in a Spring Boot application which is attached to the AxonDB server. Using a TrackingEventProcessor…
Ostecke
  • 1,469
  • 12
  • 13
0
votes
1 answer

Correct way of handling exceptions from aggregates after they have been deleted

After an aggregate has been deleted using the method markDeleted() , what is the correct way of handling a request using the same aggregate identifier? The markDeleted() method marks and aggregate as deleted, when a create event is then attempted…
howells699
  • 148
  • 14
0
votes
2 answers

Publish new event from the event handler not working in the Axon

I have two separate application running on the same server. User Management Wallet Management I have implemented the event sourcing from User Management to wallet management. and it is working fine. But when I will publish the new event from the…
0
votes
1 answer

Axon message receive but event handler not call

Axon message receives but event handler not call. I am trying to implement the event sourcing in both the side with tow different queue. My First Queue is test and the Second one is testdemo I have two separate application running on the same…
0
votes
1 answer

How to consume different commands in different microservices using Axon?

I have 2 different microservices todo-service and validation-service and command types CreateTodoCommand and ValidateTodoCommand. If I have one command handler in one service and another one in the second service I receive No node known to accept…
Stepan
  • 41
  • 2
  • 7
0
votes
2 answers

Publishing different types of events to different queues

I'm trying to create a simple microservices project to learn working with the Axon Framework. I've set up messaging through RabbitMQ with the following code: @Bean public Exchange exchange() { return…
Daantie
  • 951
  • 10
  • 13
0
votes
1 answer

Axon Send commands to other microservices

I am using axon for CQRS, Saga pattern.Now I have a scenario where one microservice send a command to another microservice. Can we do that using Axon command bus processing.
Keaz
  • 955
  • 1
  • 11
  • 21
0
votes
0 answers

How to use axon with spring cloud in a micro services system

I have a micro services system, 5 or 6 services. And I want to modify it with event sourcing architect on Axon. I saw the part of distributed command bus and event but in the doc, but I still don't understand very well. Can anyone tell me the big…
Mavlarn
  • 3,807
  • 2
  • 37
  • 57
0
votes
1 answer

Using multiple aggregate in one command handler

Provided that I have 2 aggregate, order and customer, and a OrderPayCommand, in the handler, it will check the order status, and check customer balance. If all succeed, it will send an event OrderPaidEvent, which will be handled by Customer…
Mavlarn
  • 3,807
  • 2
  • 37
  • 57
0
votes
1 answer

Axon Register Tracking Processor with distributed query model

I had implement CQRS+ES application using axon and spring-boot. I use separate query model and command model application. I use rabbitmq to publish event from command mode. It works correct. But tracking Processor implementation is not work in my…
wthamira
  • 2,032
  • 2
  • 21
  • 40
0
votes
1 answer

How to "upcast" the aggregate type after an aggregate was renamed in Axon

Let's say I have an existing aggregate CustomAggregate and an event CustomEvent which is handled by the aggregate. After some time when the event store already contains some events for this aggregate, I need to rename the aggregate and the event to…
Green Fireman
  • 617
  • 1
  • 11
  • 27