in whatsapp/src/main/java/org/apache/camel/example/whatsapp/Application.java [33:46]
static {
Properties properties = new Properties();
ClassLoader loader = Application.class.getClassLoader();
try (InputStream resourceStream = loader.getResourceAsStream("application.properties")) {
properties.load(resourceStream);
} catch (IOException e) {
e.printStackTrace();
}
AUTHORIZATION_TOKEN = properties.getProperty("authorizationToken");
PHONE_NUMBER_ID = properties.getProperty("phoneNumberId");
RECIPIENT_PHONE_NUMBER = properties.getProperty("recipientPhoneNumber");
WEBHOOK_VERIFY_TOKEN = properties.getProperty("webhookVerifyToken");
}