title: Waiting for dependencies [(&(component=Simple)(objectClass=org.apache.camel.spi.ComponentResolver))]
body: <p>I am working with Apache Camel and I am defining a route that I need to access some headers. To accomplish that I use simple to access dynamically a header.  </p>
  
  <pre><code>from("direct:buildInformation")     
      .setProperty("id", constant(simple("${header.headers[id]}")))
      .to(simple("http://localhost/search?id=${header.headers[id]}"))
      .process("MyProcessor");
  </code></pre>
  
  <p>However I get the error: is waiting for dependencies <strong>[(&amp;(component=Simple)(objectClass=org.apache.camel.spi.ComponentResolver))]</strong>. Here at my pom.xml project I import all needed dependencies including camel-core, that is needed for simple language work properly, as you can see.</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-blueprint&lt;/artifactId&gt;
          &lt;version&gt;${camel-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;net.sourceforge.jexcelapi&lt;/groupId&gt;
          &lt;artifactId&gt;jxl&lt;/artifactId&gt;
          &lt;version&gt;2.6.12&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
          &lt;version&gt;${camel-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-http&lt;/artifactId&gt;
          &lt;version&gt;${camel-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-http4&lt;/artifactId&gt;
          &lt;version&gt;${camel-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-jackson&lt;/artifactId&gt;
          &lt;version&gt;${camel-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-jsonpath&lt;/artifactId&gt;
          &lt;version&gt;${camel-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;version&gt;${slf4j-version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
          &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
          &lt;version&gt;3.4&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Besides that from my Karaf console I see that camel-core is active, but my bundle is in GracePeriod Status: <strong>[(&amp;(component=Simple)(objectClass=org.apache.camel.spi.ComponentResolver))]</strong>. Below my Karaf console printscreen.</p>
  
  <p>Picture from karaf console showing camel-core dependency as active
  <a href="https://i.stack.imgur.com/OE4MT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OE4MT.png" alt="enter image description here"></a></p>
  
  <p>Error showed after diag mybundle on Karaf
  <a href="https://i.stack.imgur.com/F4MMU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F4MMU.png" alt="enter image description here"></a></p>