camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Stevenson <>
Subject [HEADS UP] - BlueprintCamelContext startup behavior change coming in 2.19
Date Mon, 05 Dec 2016 14:44:00 GMT
A PR ( <>
) has been merged into the master branch to make the startup behavior of the BlueprintCamelContext
a little more consistent with OSGi Blueprint (

There is a possibility of some backward compatibility issues with this change if other Blueprint
beans depend on the state of the BlueprintCamelContext in their "init-method".  Before this
PR, the BlueprintCamelContext may or may not have been started when the "init-methods" for
other beans were called, but in most cases, the context had been started before the other
“init-methods” were called.  After this PR, the BlueprintCamelContext will not be started
until the BlueprintContainer has been fully created.  Therefore, the context will not have
been started (at least by OSGi/Blueprint) when “init-methods” are called.

The camel-example-mybatis project illustrates this backward compatibility issue, and was changed
in this PR to removed the dependency on the state of the context in the init-method of a bean.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message