Problem receiving messages


I just wanted to implement a bot which repeats everything he gets. Starting the connection and sending messages works fine but I have a problem with reveiving messages. This is my messageListener:

public void processMessage(Chat chat, Message message) {

When I send a message to my bot nothing happens. I run the debugger and I receive the messages so I don’t understand why processMessage isn’t executed.

Thanks for your help

Edit: Perhaps this message from the debugger helps a bit:

Test<nos:x value=“disabled” xmlns:nos=“google:nosave”/><arc:record otr=“false” xmlns:arc=“”/>