Added some comments.
Got an AMQP gateway sample working.