Spring Boot, Java, Rabbitmq, Programming, Technology.
MessageProperties messageProperties) throws MessageConversionException { try { byte[] bytes = objectMapper.writeValueAsBytes(object); messageProperties.setContentType(MessageProperties.CONTENT_TYPE_JSON); return new Message(bytes, messageProperties); } catch (JsonProcessingException e) { throw new