While the bank Saga works on the test cases, the SpringBoot version does not. The CommandGateway is null (not injected). The page does not have a link to the completed source and wonder if someone has tried the examples. Also, there are some changes from the older M3-5 versions to the RC.
I tried injecting the CommandGateway as well as passing as a parameter to the SagaEventHandlers with no luck.
I am trying the SpringBoot version
You could try both the ‘@Inject’ and ‘@Autowired’ annotation for Axon to wire the bean in to your Saga implementation.
Those annotation need to be put on the global parameter level or on a setter function, not a constructor.
If both don’t work, you could go the stretch to implement your own ‘ResourceInjector’, as that’s the interface used to inject beans into Sagas within Axon.