Recordof RabbitMQ, using Jackson deserialized error;
Error:
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `[B` out of START_OBJECT token
at [Source: (String)"{"id":1,"userName":"jack","name":"lili"}"; line: 1, column: 1]
First on the code:
RabbitMQ configuration class is not on, the basic configuration
Producer:
consumer:
analysis
Still can not find the cause, should be the main deserialization fails, I modified the parameters of the listener's end, the receiving Message objects, manual getBody, can receive data;
There are big brothers know, please correct me, thanks!