public DestinationSessionParams setMessageHandler(MessageHandler handler) {
        this.handler = handler;
        return this;
    }
Sets the handler to recive incoming messages.

@param handler The handler to set.
@return This, to allow chaining.
messagebus/src/main/java/com/yahoo/messagebus/DestinationSessionParams.java