def unicast(q_name, payload = {})
      begin
        x_default.publish(
          payload.to_json,
          routing_key: dot_formatted(q_name)
        )
        log_message("unicast status: success, Queue : #{q_name}, Content : #{payload}")
        :success
      rescue => ex
        log_message("Unicast error:#{ex.message}")
        :error
      end
    end
def unicast(q_name, payload = {})
      begin
        x_default.publish(
          payload.to_json,
          routing_key: dot_formatted(q_name)
        )
        log_message("unicast status: success, Queue : #{q_name}, Content : #{payload}")
        :success
      rescue => ex
        log_message("Unicast error:#{ex.message}")
        :error
      end
    end
unicast message to queues