Entry Points

The agent discovers RabbitMQ backend entry point when your application polls the queue. Splunk AppDynamics auto-detects RabbitMQ based upon the following patterns:

BasicGet Method

The agent detects the pattern below where the application periodically polls the message queue using the BasicGet() while BasicGet BasicGet if

RabbitMQ Client before version 6.x:

while (true)
{
var result = channel.BasicGet("MyExchange", true);
if (result != null)
{
var body = result.Body;
var message = Encoding.UTF8.GetString(body);
Console.WriteLine("Received: {0}.", message);
}
Thread.Sleep(5000);
}

RabbitMQ Client version 6.x:

while (true)
{
var result = channel.BasicGet("MyExchange", true);
if (result != null)
{
var body = result.Body.ToArray()
var message = Encoding.UTF8.GetString(body);
Console.WriteLine("Received: {0}.", message);
}
Thread.Sleep(5000);
}

HandleBasicDeliver Method

The agent detects the HandleBasicDeliver() IBasicConsumer HandleBasicDeliver