Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionResponses are sent in a non-blocking fashion and don't need a dedicated thread pool anymoreResponses are sent in a non-blocking fashion and don't need a dedicated thread pool anymoreTemporary bridge for reading Axon Framework 4 multi-source token stores after upgrading. Scheduled for removal in 5.5.0, once existing stores have migrated to the Axon Framework 5 token class names.use
SourcingCondition.strategy()'s and check for theabsolute modeUseClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.UseEventHandlingComponentsConfigurer.ComponentsPhase.autodetected(String, ComponentBuilder)to provide an explicit component name. When no name is provided, the component receives its registration index as the name. Note that the generated index may differ across environments or application restarts, so it should not be relied upon for stable identification (e.g., in dead letter queues).UseEventHandlingComponentsConfigurer.ComponentsPhase.declarative(String, ComponentBuilder)to provide an explicit component name. When no name is provided, the component receives its registration index as the name. Note that the generated index may differ across environments or application restarts, so it should not be relied upon for stable identification (e.g., in dead letter queues).UseClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.UseClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.Temporary bridge for reading Axon Framework 4 token stores after upgrading. Scheduled for removal in 5.5.0, once existing stores have migrated to the Axon Framework 5 token class names.Temporary bridge for reading Axon Framework 4 token stores after upgrading. Scheduled for removal in 5.5.0, once existing stores have migrated to the Axon Framework 5 token class names.UseAxonTestPhase.Then.Command.resultMessagePayloadSatisfies(Class, Consumer)instead, which automatically handles payload conversion for distributed setups where conversion is necessary.
-
Deprecated InterfacesInterfaceDescriptionTemporary bridge for reading Axon Framework 4 token stores after upgrading. Scheduled for removal in 5.5.0, once existing stores have migrated to the Axon Framework 5 token class names.
-
Deprecated ClassesClassDescriptionTemporary bridge for reading Axon Framework 4 multi-source token stores after upgrading. Scheduled for removal in 5.5.0, once existing stores have migrated to the Axon Framework 5 token class names.Only in use for legacy "sync" components.Temporary bridge for reading Axon Framework 4 token stores after upgrading. Scheduled for removal in 5.5.0, once existing stores have migrated to the Axon Framework 5 token class names.
-
Deprecated MethodsMethodDescriptionResponses are sent in a non-blocking fashion and don't need a dedicated thread pool anymoreResponses are sent in a non-blocking fashion and don't need a dedicated thread pool anymoreuse
SourcingCondition.strategy()'s and check for theabsolute modeIn favor of using the constructor, as we intend to enforce thinking about thetype.UseEventHandlingComponentsConfigurer.ComponentsPhase.autodetected(String, ComponentBuilder)to provide an explicit component name. When no name is provided, the component receives its registration index as the name. Note that the generated index may differ across environments or application restarts, so it should not be relied upon for stable identification (e.g., in dead letter queues).UseEventHandlingComponentsConfigurer.ComponentsPhase.declarative(String, ComponentBuilder)to provide an explicit component name. When no name is provided, the component receives its registration index as the name. Note that the generated index may differ across environments or application restarts, so it should not be relied upon for stable identification (e.g., in dead letter queues).UseClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.UseClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.UseAxonTestPhase.Then.Command.resultMessagePayloadSatisfies(Class, Consumer)instead, which automatically handles payload conversion for distributed setups where conversion is necessary.
-
Deprecated ConstructorsConstructorDescriptionUse
ClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.in favor of theAnnotationSpecification(Class, String, Class, String, Class, String)constructor that allows annotation configuration per resolvable attribute