message type and java reflection to invoke method with arguments