changed ags for amqp