apache/camel — pull request #296 by yuruki (2014-10-06 16:33:17+00:00)
Title: CAMEL-7875 Method for adding objects to Registry

Having a write method in Registry interface simplifies configuring Camel routes in CamelTestSupport unit tests where a registry reference is not available and when you would like to configure beans required by the components inside route builder's configure method.

This change eliminates the need to pass registry references around. If your code can see its CamelContext you'll have uniform write access to its registry.