Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 10, 2025

This PR contains the following updates:

Package Update Change
AxonFramework/AxonFramework patch 4.11.0 -> 4.11.1

Release Notes

AxonFramework/AxonFramework (AxonFramework/AxonFramework)

v4.11.1: Axon Framework v4.11.1

Compare Source

⚠️ Chance for duplicate interceptor registration

In 4.11.0 of Axon Framework, Spring Boot auto-configuration support for MessageHandlerInterceptors and MessageDispatchInterceptors was introduced.
For those curious how this was achieved, we refer to #​3203.

Although the feature on it's own shouldn't cause trouble, be aware that if the Axon Framework application you are working on already exposes MessageHandlerInterceptors and MessageDispatchInterceptors beans in the Spring Application Context. When this is the case, in combination with custom code to wire these beans into your infrastructure components, the chance is high they'll be registered twice due to the aforementioned feature.

As such, we recommend to either:

  1. Remove the custom interceptor auto-configuration, to pass along this task to Axon Framework, or
  2. Exclude the InterceptorAutoConfiguration from your Spring Boot auto-configuration.

By following either road, you should be ascertained that interceptors are not registered twice.

🪲 Bug fixes

  • [#​3283] fix: Auto-register MessageHandlerInterceptors with Spring Boot fails for interceptors which depends on Axon components #​3290
  • Auto-register MessageHandlerInterceptors with Spring Boot fails for interceptors which depends on Axon components #​3283

❤️ Contributors

We'd like to thank all the contributors who worked on this release!


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@JohT JohT merged commit f613fc1 into main Mar 10, 2025
2 checks passed
@JohT JohT deleted the renovate/axonframework-axonframework-4.x branch March 10, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants