コード例 #1
0
        public void DeclareQueue()
        {
            Debug.Log("DeclareQueue");
            AmqpClient.DeclareQueue(DeclareQueueName.text);

            foreach (var q in AmqpClient.GetQueues())
            {
                Debug.Log(q.Name);
            }
        }
コード例 #2
0
    public void OnConnected(AmqpClient client)
    {
        Debug.Log("OnConnected");
        Debug.Log("isConnected?" + AmqpClient.Instance.IsConnected);

        AmqpClient.DeclareQueue("Test");

        AmqpQueue[] qs = AmqpClient.Instance.GetQueueList();

        foreach (AmqpQueue q in qs)
        {
            Debug.Log(q.Name);
        }
    }