fix the example assembly and have better error logging for rabbitmq