title: How to prevent java mail "expected resource not found" warnings from Camel "smtp" component?
body: <p>I'm using the Camel SMTP component to send email messages from a Camel route, and it works fine, but I get two warning messages every time I send a mail.</p>
  
  <pre><code>expected resource not found: /META-INF/javamail.default.providers
  expected resource not found: /META-INF/javamail.default.address.map
  </code></pre>
  
  <p>Is there a way of stopping this? I've tried putting blank resource files in the META-INF folder of the route's jar file, but that doesn't appear to have any effect. Apparently JavaMail tries to find these files in various places on the classpath, and default files should be in the JavaMail jar file, but for some reason, this isn't being picked up in the OSGi environment from which I'm running these routes.</p>
  
  <p>The OSGi (Karaf) console lists bundles</p>
  
  <pre><code>JavaMail API v1.6.1
  camel-mail 2.21.2
  </code></pre>
  
  <p>Can anyone tell me what I am missing here?</p>
  
  <p>Thanks!</p>