Produce Consume RabbitMQ Spring JSON Message Queue

You may also like...

Leave a Reply

4 Comments on "Produce Consume RabbitMQ Spring JSON Message Queue"

avatar
  Subscribe  
newest oldest
Notify of
Olena Nagorna
Guest
Olena Nagorna

Vary thanks for this article!

Raja Anbazhagan
Guest
Raja Anbazhagan

How do I directly get the POJO instead of the Json String

Memorynotfound.com
Guest
Memorynotfound.com

Hello Raja, You can convert the JSON String into a POJO using Google Gson. Ref: http://memorynotfound.com/deserialise-json-java-object-using-gson/

seb
Guest
seb

section RabbitMQ Spring JSON Producer. Variable counter is of AtomicInteger type. Not needed.