basic usage of amqp