I think it is working as expected, but I think you missunderstood how it works your custom mediator. The message you see is the one showed by the init method, this is when the meditor is created.
This mediator is running everytime you left a file in the folder but the method launched when it happens is "mediator" methos, which implementation does nothing (retrun false). So you should implement mediator method as
public boolean mediate(MessageContext arg0) {
hellowWorld();
return false;
}
and it will show the message as you expect.
Hope it works!