First edit of consumer/producer examples
Messages are written to a queue by the producer, the consumer then reads them and acknowledges them after processing is finished.