AMQP samples updted to properly support error handling