Refactoring of AMQP task + support for verbose and non verbose mode