spring-cloud / spring-cloud/spring-cloud-stream
MessageConverter filtering breaks XML support
@olegz is already working on this.
Since Jun 30, 2020.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 646
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 8
Description
Describe the issue
Since https://github.com/spring-cloud/spring-cloud-stream/issues/1920, the ContentTypeConfiguration won't accept MessageConverters that reside inside org.springframeworkbut not org.springframework.cloud anymore.
In our case this hits org.springframework.messaging.converter.MappingJackson2MessageConverter so XML support via jackson is effectively disabled.
To Reproduce
Steps to reproduce the behavior:
- Include
com.fasterxml.jackson.dataformat:jackson-dataformat-xmlas dependency - Try to send a message with contentType=application/xml
- See error:
Failed to convert message [...] contentType=application/xml [...] to outbound message
Version of the framework
Versions that work: Hoxton.SR2
Versions that don't work: Hoxton.SR3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.