title: how to disable calling an entire one microservice in another microservice using @conditionalOnProperty in springboot?
body: <p>Below is my config class where I have given <code>@ConditionalOnProperty</code></p>
  <pre><code>@ConditionalOnProperty(name =&quot;run.Config&quot;)
  public class Config { 
   {
  //body
  }}
  </code></pre>
  <p>Below is the application.properties section:</p>
  <pre><code>run.config=false;
  </code></pre>
  <p>I have given in <code>application.properties</code> to avoid calling config microservice but in this case, all the microservices are being false, how can I avoid calling one particular microservice.</p>