Replacing default AggregateAnnotationCommandHandler with custom implementation

14 views
Skip to first unread message

Damir Murat

unread,
Dec 9, 2017, 6:40:56 AM12/9/17
to Axon Framework Users
Hi,

For some experimentation I will like to replace axon default command handling component (AggregateAnnotationCommandHandler) with my own implementation.
Is there some easy way to do it through spring boot configuration classes? If there are some docs about it, please point me to it. 
Tnx.

Allard Buijze

unread,
Dec 10, 2017, 2:06:32 PM12/10/17
to axonfr...@googlegroups.com
You can ‘manually’ wire your aggregate. Just don’t put @Aggregate (when using Spring Boot) or don’t register it as an aggregate. Instead, register your own component as a Command Handler.

Cheers,

Allard
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Reply all
Reply to author
Forward
0 new messages