infinity cycle plugin

Hi everyone,

Need to receive messages from external queue in wowza plugin.

We uses RabbitMQ, so need make infinity cycle in the plugin which expect information from customer app.

How I can do it? Which event should be used?

Thanks,

Andrey

    while (true) {
      QueueingConsumer.Delivery delivery = consumer.nextDelivery();
      String message = new String(delivery.getBody());
      System.out.println(" [x] Received '" + message + "'");
                }

We have a received a ticket #121799, please refer to this moving forward.