opentracing-contrib / java-spring-rabbitmq

OpenTracing RabbitMQ instrumentation
Apache License 2.0
19 stars 21 forks source link

auto configure tracing after RabbitAutoConfiguration. #34

Closed ask4gilles closed 5 years ago

ask4gilles commented 5 years ago

See https://github.com/opentracing-contrib/java-spring-rabbitmq/issues/33 and https://github.com/opentracing-contrib/java-spring-rabbitmq/issues/27 If no RabbitTemplate bean was declared, tracing was not triggered since the RabbitAutoConfiguration did not create the RabbitTemplate bean yet. This should fix it.