I have an instance of RabbitMQ 3.4.2 with the web management plugin installed.
When I click on the message {'operationId': 194} in the queue using the Python kombu queue package, the message is read at the other end as a dictionary.
However, when I send a message using the web console:

I get the following error on the receiving side:
operation_id = payload['operationId'] TypeError: string indices must be integers
I tried to add a title and a content-type property, without any success.
Since the reader code is the same, this means that the web sender does not mark the sent message as a JSON / dictionary payload, and therefore it is read as a line at the other end.
Any idea how to mark a message as a JSON message using the RabbitMQ web console?
json python queue rabbitmq
Adam matan
source share