We’re using axon 3.2 in combination with Springboot. I’m running an unit test for a saga with the SagaTestFixture. Now to set the @Autowired annotated attributes of the saga the fixture.registerResource method is used. This works fine.
Question is how do I set the @Value annotated attributes of the Saga?
The problem is that with the SagaTestFixture there is no way access the saga instance, so making the attribute public or adding a setter method won’t help.
@Autowired private transient CorrelationRepository correlationRepository;