B.3. Blueprint URL handler
The Blueprint URL handler enables you to deploy a Blueprint XML resource directly as an OSGi bundle, without needing to create any of the usual OSGi bundle packaging in advance. The
blueprint:
scheme can be prefixed to any of the usual location URL handlers (for example, file:
, http:
, profile:
, zk:
).
To use the Blueprint URL handler, create a
bundle
entry in the agent properties (equivalent to the io.fabric8.agent
PID) in the following format:
bundle.ID=blueprint:LocationScheme:LocationOfBlueprintXML
For example, the
example-camel-hello
profile's agent properties include the following bundle
entry:
bundle.camel-fabric=blueprint:profile:camel.xml
Note
The Blueprint URL handler has an important side effect. If the referenced Blueprint resource is changed at run time, the Blueprint URL handler detects this change and automatically reloads the resource. This means, for example, that if you edit a deployed Camel route in a Blueprint resource, the route automatically gets updated in real time.