Queues in Java (3/8): Publishing a JSON Object to the Queue with Jackson

Giovanni Pace

Description

Publishing a JSON object to a RabbitMQ queue from Java: you go beyond plain string messages, add the Jackson library, create an event class and serialise it to JSON with ObjectMapper before sending it.