added rabbit publisher code