How to use external properties in Fuse on EAP with CDI?

Solution Verified - Updated -

Issue

  • Could you please provide an example project that shows looking up a properties file in Fuse on EAP and using it for substituting in Camel routes?

  • When I try using the PropertiesComponent as described in [1], debugging has shown that this is related to the camel-core module trying to load the properties file and then realizing that it is not in it's classpath.

  1. https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.2.1/html/Apache_Camel_Development_Guide/BasicPrinciples-PropPlaceholders.html

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
  • Red Hat JBoss EAP
    • 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.