-
Notifications
You must be signed in to change notification settings - Fork 1.1k
The own implementation of ConverseService should be disable by config #8697
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
Comments
I'm not fully understand what is going on. Probably would be great to have some simple project to let us to reproduce. According to your "disable" sentence I feel as you would like to have something what would remove some custom bean. Either way it doesn't seem like something has to be done from Spring Integration perspective. Thanks |
Well, I didn't express myself well, unfortunately I don't have a public project to share the need of the request. But basically the problem comes when I try to use the The problem in question is that if I try to use the ConverseService, it conflicts between these two libraries, currently I have been able to solve the problem by creating a global I hope this makes the reason for the issue clearer, sorry again for not explaining myself better at the beginning. |
Well, you don't compare apples with apples. The I think we can try with a
This indeed was not designed for autowiring, but rather for internal framework usage via manual calls for I can give it a shot for the current Let me know if this plan works for your and I'll push the fix shortly. |
For me it's the best solution, and I made the comparison because I think you get the idea, as soon as you upload it I'll take a look at it. Thank you |
So, there is now a |
Hi, I tried to follow the steps to make the jar for maven using the Gradle Here you have the trace of the command: https://app.warp.dev/block/5DBbgGgGWdAX67oKQhQXcv |
Hi @AdrianLagartera ! Sorry for not being clear with my previous comment. Re. Gradle: that
so, it will build all the jars for project modules and install them to Maven local repo. |
Oooh I see, really thanks for the info, I was assuming the idea of compiling my project locally. And it's good to know the command to do it anyway. I could probably check that snapshot tomorrow, and give you feedback. Thanks again |
Hi, sorry for the delay, after testing it on my project it works as expected. Really thank you! |
Fixes #8697 The `IntegrationUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME` is not designed for end-user code autowire, rather internal framework requirement * Mark `BeanDefinition` for `IntegrationUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME` as `setAutowireCandidate(false)` (cherry picked from commit f9dc75c)
Fixes #8697 The `IntegrationUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME` is not designed for end-user code autowire, rather internal framework requirement * Mark `BeanDefinition` for `IntegrationUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME` as `setAutowireCandidate(false)` (cherry picked from commit f9dc75c)
... and cherry-picked to |
Version: 6.0.2
Context
When you try to use the
ConverseService
, spring fails cuz exists both of them themvcConversionService
and other one namedintegrationConversionService
its so easy to resolve it just using the qualifier, but I added this dependency in a existing project and I didn't see nothing to disable this customConverseService
To Reproduce
Autowire
ConverseService
using the web starter library from spring and the spring integrationExpected behavior
Should be an option to disable the new conversion service
The text was updated successfully, but these errors were encountered: