Class AnnotateSequencingPolicyProperty
- All Implemented Interfaces:
Cloneable
In AF4, sequencing for an event-processing group was configured via the Spring property
axon.eventhandling.processors.<group>.sequencing-policy. In AF5, that property still
configures a processor-wide SequencingPolicy, but only for pooled streaming event
processors. It has no effect on subscribing event processors, which need
@SequencingPolicy(...) from org.axonframework.messaging.core.annotation on the
event handler class instead.
This recipe inserts an advisory comment immediately above any matching property entry in
application.properties / application.yml (including profile-specific files via
the standard recipe-tooling glob). The comment states the pooled streaming restriction and
surfaces the entry to the developer (and to the LLM-driven skill that runs next) without
touching the value. The recipe is idempotent: it skips entries whose preceding comment
already carries the marker.
- Since:
- 5.1.1
- Author:
- Mateusz Nowak
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.Recipe
addDataTable, aggregateDataTableDescriptors, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll, withOptions
-
Constructor Details
-
AnnotateSequencingPolicyProperty
public AnnotateSequencingPolicyProperty()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()- Overrides:
getVisitorin classorg.openrewrite.Recipe
-