Adding workqueue Code for rabbit MQ