quarkus: Quarkus 1.3.x: AMQP Emitter does not set content-type
Describe the bug
When using an Emitter<JsonObject>
of the quarkus-smallrye-reactive-messaging-amqp
extension, Quarkus 1.2.1.Final added the Content-Type: application/json to the properties of the message. This is also documented under https://smallrye.io/smallrye-reactive-messaging/#_forwarding_messages_to_amqp: (Vert.x) JSON Array or JSON Object (send as binary with content type set to application/json)
In Quarkus 1.3.x, the content type property is not set in the message.
Expected behavior Content type should be set.
Actual behavior Content type is missing.
To Reproduce Steps to reproduce the behavior:
- Download reproducer-smallrye-amqp-emitter-not-working.zip and unzip it.
- In the unzipped directory run
docker-compose up -d
to start an activemq broker. - Run
./mvnw quarkusDev
to start the container - Open http://localhost:8080/hello in a browser
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (23 by maintainers)
Commits related to this issue
- Fix AMQP Outgoing metadata handling It was erasing the previously made decisions. Fix https://github.com/quarkusio/quarkus/issues/8274. — committed to smallrye/smallrye-reactive-messaging by cescoffier 4 years ago
- Fix AMQP Outgoing metadata handling It was erasing the previously made decisions. Fix https://github.com/quarkusio/quarkus/issues/8274. — committed to smallrye/smallrye-reactive-messaging by cescoffier 4 years ago
Tomorrow if I recall correctly.