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

Add MappingJackson2MessageConverter constructors that accept an ObjectMapper #31234

Merged

Conversation

mdeinum
Copy link
Contributor

@mdeinum mdeinum commented Sep 14, 2023

Prior to this commit in the message converters it was possible to set a pre-configured ObjectMapper. However the constructor would still create and configure an ObjectMapper.

With the added constructor it is now possible to directly construct the message converter with the proper ObjectMapper. This prevents the this additional ObjectMapper to be constructed.

Prior to this commit in the message converters it was possible
to set a pre-configured ObjectMapper. However the constructor
would still create and configure an ObjectMapper.

With the added constructor it is now possible to directly
construct the message converter with the proper ObjectMapper.
This prevents the this additional ObjectMapper to be constructed.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 14, 2023
@jhoeller jhoeller added in: messaging Issues in messaging modules (jms, messaging) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 15, 2023
@jhoeller jhoeller added this to the 6.1.0-RC1 milestone Sep 15, 2023
@jhoeller jhoeller merged commit e42e89c into spring-projects:main Sep 15, 2023
5 checks passed
jhoeller added a commit that referenced this pull request Sep 15, 2023
@jhoeller jhoeller self-assigned this Sep 15, 2023
@sbrannen sbrannen changed the title Add constructors to take ObjectMapper Add MappingJackson2MessageConverter constructors that accept an ObjectMapper Sep 16, 2023
varunteja321 pushed a commit to varunteja321/test1712 that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: messaging Issues in messaging modules (jms, messaging) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants