title: How to access property file in Apache Camel with Java DSL?
body: <p>I build camel application using org.apache.camel.main.Main class like this:</p>
  
  <pre><code>public static void main(String... args) throws Exception {
  
      Main main = new Main();
  
      main.enableHangupSupport();
      main.addRouteBuilder(new MainRoute());
      main.addRouteBuilder(ConfigurationRoute.getloginRoute());
      main.run(args);
  }
  </code></pre>
  
  <p>how to include properties file (src/main/resources/prop.properties) in the code? </p>