Produce Consume RabbitMQ Spring JSON Message Queue

You may also like...

4
Leave a Reply

avatar
3 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
sebMemorynotfound.comRaja AnbazhaganOlena Nagorna Recent comment authors
  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.