But I don't know how to process the message on the java side.
For example how do I access the 'title' variable? I can call
getBody() from the java object I receive, but after that, I don't
know what to do. By the way, here is a skeleton of the java which
receives the message: