Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoconfigurable correlationScopeDecorator doesn't use builder from Spring Context #2284

Closed
akrikheli opened this issue May 5, 2023 · 1 comment
Labels
Milestone

Comments

@akrikheli
Copy link
Contributor

akrikheli commented May 5, 2023

The correlationScopeDecorator creates CorrelationScopeDecorator.Builder via new operator and fully ignores builder bean:

Looks like bug because there's conditional
@ConditionalOnBean(CorrelationScopeDecorator.Builder.class)
over this bean.

Thus there's no way to customize builder for correlationScopeDecorator (for example if we want to add custom SingleCorrelationField with flushing on update).

I suggest to inject the builder as method parameter in java configuration of correlationScopeDecorator bean and use it.

@marcingrzejszczak
Copy link
Contributor

fixed via #2285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants