A blog about my daily tech ramblings.

Showing posts with label Blueprint. Show all posts
Showing posts with label Blueprint. Show all posts

Friday, 9 August 2013

Using External Properties in Apache Karaf [Fuse ESB]

August 09, 2013 Posted by Unknown , , , 5 comments

Introduction

In this example we will see how to use an external property file in Fuse ESB / Apache Karaf.

Creating a configuration file

Create a config file named sample.cfg in FUSE_HOME/etc with the following content.

Spring Configuration


Blueprint 


Note : The default blueprint placeholder syntax (accessing the blueprint properties directly) is ${Key}. Hence, outside the scope of a camelContext element, the placeholder syntax you must use is ${Key}. Whereas, inside the scope of a camelContext element, the placeholder syntax you must use is {{Key}}.


Camel Route