diff --git a/content/bn/examples/application/job/rabbitmq/worker.py b/content/bn/examples/application/job/rabbitmq/worker.py new file mode 100644 index 0000000000..88a7fcf96d --- /dev/null +++ b/content/bn/examples/application/job/rabbitmq/worker.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +# Just prints standard out and sleeps for 10 seconds. +import sys +import time +print("Processing " + sys.stdin.readlines()[0]) +time.sleep(10)