camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject My camel test is not reading the injected value from blueprint.xml
Date Fri, 19 May 2017 05:40:03 GMT

I have written my camel test for a routebuilder , where one property is
injected from blueprint.xml.
In my test class, the value of that property always comes as false(as it
boolean , so default is false).

But in blueprint.xml I have  made it as true.
Also , i tried using loadConfigAdminConfigurationFile  and
Nothing is working.

My entry on blueprint.xml

 <cm:property-placeholder persistent-id="value" placeholder-prefix="{{"
			<cm:property name="value.enabled" value="true"/>

My entry in the RouteBuilder class

	private boolean valueEnabled;

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message