<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def onMessage(self, payload, is_binary):
 """ Called when a client sends a message """

        if not is_binary:
            payload = payload.decode('utf-8')

            logger.debug("Incoming message ({peer}) : {message}".format(
                peer=self.peer, message=payload))

            # Publish ON_RECEIVE message
            self.factory.mease.publisher.publish(
                message_type=ON_RECEIVE,
                client_id=self._client_id,
                client_storage=self.storage,
                message=payload)