def publish(current_topic, json_data)
      message = json_data['data'].to_json
      return if current_topic.blank? || message.blank?
      server_pusblish_event(current_topic, message)
    rescue => exception
      log_debug("could not publish message #{message} into topic #{current_topic} because of #{exception.inspect}")
    end
def publish(current_topic, json_data)
      message = json_data['data'].to_json
      return if current_topic.blank? || message.blank?
      server_pusblish_event(current_topic, message)
    rescue => exception
      log_debug("could not publish message #{message} into topic #{current_topic} because of #{exception.inspect}")
    end
method for publishing data to a channel

 @param [String] current_topic The Channel to which the reactor instance {CelluloidPubsub::Reactor} will publish the message to
 @param [Object] json_data The additional data that contains the message that needs to be sent

 @return [void]

 @api public