In this case I only need the JSON, so can just do ...
# announcements
j
In this case I only need the JSON, so can just do this:
Copy code
channel.consume(queue = "api", onMessage = { a,b,c: Any, json: String ->