The method scanFromPrototype was deprecated in the latest version of the RabbitMQ library. This commit replaces all instances of scanFromPrototype with the recommended alternative, scanFromTemplate.
The deprecated method was causing compatibility issues with newer versions of RabbitMQ, leading to potential runtime errors and decreased performance.
Fix(rabbitmq): deprecated method "scanFromPrototype"
The method scanFromPrototype was deprecated in the latest version of the RabbitMQ library. This commit replaces all instances of scanFromPrototype with the recommended alternative, scanFromTemplate.
The deprecated method was causing compatibility issues with newer versions of RabbitMQ, leading to potential runtime errors and decreased performance.