def onMessage(self, message): printXml(message.text)
def on_message(self, headers, message): printXml(message)