Hi,
We are using Axon 3.0.2 with Spring boot 1.4.4 and we recently had to implement an event upcaster.
We followed the guide on https://docs.axonframework.org/part3/repositories-and-event-stores.html
After adding the JpaEventStorageEngine bean to our spring boot configuration, our integration tests started complaining about missing beans.
We’ve tried to mock some of the parameters required by the JpaEventStorageEngine. For the Serializer and the EntityManagerProvider this seems to work fine.
However, for the TransactionManager we keep getting the following exception (even though I have explicitly added it in our test configuration):
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.axonframework.common.transaction.TransactionManager’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
Anyone ran into something like this before? Or any general suggestions?
Thanks in advance,
Jens