Fix missing end in rabbitmq template