In order to avoid leaking credentials in logs, this change replaces sensitive data in the PossibleAuthenticationFailureError exception message.
…n RabbitMQ 2.9 [ci skip]
…MQ are not cross-platform
…t that we are not explicitly setting.
According to the AMQP 0.9.1 spec if a queue is re-declared the following parameters should be checked: :durable, :exclusive, :auto_delete, :arguments and if an exchange is re-declaring then the following parameters should be checked: :type, :durable, :arguments Before this patch the entire parameters hash was being checked which caused valid paramters to raise an AMQP::IncompatibleOptionsError exception.