update: Use item as resources
update: Save the event in database if failed at sending it to AMQP, use the Cron to retry the sending
fix: Handle AMQPException
fix: Use directly ->query() instead of mysterious CommonDBTM class
fix: Add declaration of
fix: json_decode to an associative array instead of standard class
fix: Fix call to PluginAmqpBuffer::delete_event() in cron