2017-04-10 3 views

Antwort

0

Eigenschaften Komponente hier verwendet werden können

ex:

Properties properties = new Properties(); 
InputStream input = null; 


public void configure() throws IOException { 

    CamelContext context = new DefaultCamelContext();  

    input = new FileInputStream("sample.properties"); 
    properties.load(input); 

    System.out.println("CITY IS" +properties.getProperty("wl.city")); 
    String city = properties.getProperty("wl.city"); 
Verwandte Themen