How to read properties from external properties file in spring-boot

Solution Unverified - Updated -

Issue

  • How to read properties from external properties file in spring-boot
  • Properties file passed on command line using --spring.config.location is not overriding the properties referred in Camel Context
  • It works properly with internal application.properties and property variables are properly picked up while running with spring-boot

Environment

  • Red Hat JBoss Fuse
    • 6.3.x

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