-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Auto-configure MessageConverter for JMS classes #4284
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
Conversation
This commit introduces automatic configuration of the `messageConverter` property for both the `JmsTemplate` and `DefaultJmsListenerContainerFactory`. When a `MessageConverter` is configured it will be used to configure both classes. Fixes: spring-projectsgh-4282
@snicoll any change this could go into the 1.3 release? Or would it be for the next maintenance release 1.3.1? |
WDYT? |
If you have multiple |
I want to roll this in once we have a fix for #2784 |
@mdeinum in 1.3.3 we will have a new service to easily configure a listener container factory, check |
Thanks for the PR but the code has changed quite significantly since you opened this PR and I've decided to fix it in a slightly different way (see d13b9a9) |
This commit introduces automatic configuration of the
messageConverter
property for both theJmsTemplate
andDefaultJmsListenerContainerFactory
.When a
MessageConverter
is configured it will be used to configure both classes.Fixes: gh-4282