Feature Description
Please add Support for Spring-Cloud 5
Current Behaviour
Setting up a DistributedCommandRouter fails due to changed signatures in Spring-Cloud 5:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.axonframework.extensions.springcloud.commandhandling.SpringCloudCommandRouter]: Factory method 'springCloudCommandRouter' threw exception with message: org.springframework.cloud.client.DefaultServiceInstance: method 'void <init>()' not found
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:183)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:72)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:152)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
... 63 common frames omitted
Caused by: java.lang.NoSuchMethodError: org.springframework.cloud.client.DefaultServiceInstance: method 'void <init>()' not found
Wanted Behaviour
It should be possible to setup a DistributedCommandBus when using recent spring frameworks.
Possible Workarounds
Stay on Spring-Cloud 4 what is not an option ;)
Feature Description
Please add Support for Spring-Cloud 5
Current Behaviour
Setting up a DistributedCommandRouter fails due to changed signatures in Spring-Cloud 5:
Wanted Behaviour
It should be possible to setup a DistributedCommandBus when using recent spring frameworks.
Possible Workarounds
Stay on Spring-Cloud 4 what is not an option ;)