Making the send_on_rabbitmq function public so it can be resused for the DOD workflow