private Class<?> getRabbitTemplateClazz() {
        int[] indexes = {3, 2};

        for (int index : indexes) {
            try {
                Class<?> rabbitTemplateInternalConsumerClass = Class.forName("org.springframework.amqp.rabbit.core.RabbitTemplate$" + index);
                if (rabbitTemplateInternalConsumerClass != null) {
                    return rabbitTemplateInternalConsumerClass;
                }
            } catch (ClassNotFoundException e) {
            }
        }

        throw new IllegalArgumentException("Failed to find RabbitTemplate$ clazz");
    }
Spring-amqp rabbit 2.1.0 removed previously added <tt>BlockingQueueConsumer$ConsumerDecorator</tt>.
<p>
Skip 2.1.1.RELEASE as it has spring 5.1.2.BUILD-SNAPSHOT dependencies not in maven central.

@author HyunGil Jeong
agent-module/plugins-it/rabbitmq-it/src/test/java/com/navercorp/pinpoint/it/plugin/rabbitmq/spring/SpringAmqpRabbit_2_1_x_to_2_x_IT.java