Files
Gary Russell d4b7578627 GH-1236: Handle non-String contentType
Resolves https://github.com/spring-projects/spring-amqp/issues/1236

The user may set the contentType to a `MimeType`.

Always use `toString()` when replacing the `contentType`.

**cherry-pick to 2.2.x, 2.1.x, 1.7.x**

(cherry picked from commit 8c7e4f95ee)

# Conflicts:
#	spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/ContentTypeDelegatingMessageConverterIntegrationTests.java
2020-08-05 14:47:24 -04:00
..