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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content