Hi all,

Fairly basic question here. According to the following link, the Main class
has a "bind" method to add classes to the registry:

http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html

// bind MyBean into the registery
main.bind("foo", new MyBean());

However this isn't available for spring.Main. How can I add classes to the
registry using spring.Main? I'm aware I can do it in the spring file...just
wondering if there is an easy way to do it via code.

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to