Eric
Eric

Reputation: 43

Camel 2.10 change blueprint.xml location

Is there an way to change the blueprint.xml file location? In my application, camel look for this on classpath and "OSGI-INF\blueprint" folder, but I want to point its reference to another file outside this folder (just like a second blueprint.xml option).

I've tried the "fileApplicationContextUri" option on camel-maven-plugin plugin inside my pom.xml, but it doesn't solve my problem.

Upvotes: 1

Views: 257

Answers (1)

m4tt
m4tt

Reputation: 102

You should state the alternative location of your Blueprint file in Bundle-Blueprint header in the manifest file:

Bundle-Blueprint: lib/account.xml, security.bp, cnf/*.xml

Upvotes: 2

Related Questions