You are not logged in.
I believe I am not first nor last to ask (nevertheless I cannot find a resolution) - I'd like to define beans and properties for camel routes. In exmaples using java projects - it is ok.. What I want to ask, if there's a way to modify Spring or OSGi blueprint context from the TOS Mediation perspective to define beans, endponts and features (e.g. WSS4j interceptors, etc).
In theory - it's not a problem to do several camel rountes with their blueprint as separate projects, but I'd like to have them all in one IDE with nice graphical features and Talend context parameters..
Hi Talend guys,
I have a suggestion - maybe for a next version..
a component cConfig could have a tab, where you can put XML and it will be stored in OSGI-INF/blueprint folder (or optionaly to the META-INF/spring folder)
this way it will be easy to add and modify camel context via OSGi blueprint XML..
ok - I found a way - there's a cConfig component where you can set up the camelContext registry (see http://www.youtube.com/watch?v=jyCy6wPt … ature=plcp and CAREFULLY watch the source code),
org.apache.camel.impl.SimpleRegistry registry = new org.apache.camel.impl.SimpleRegistry (); camelContext.setRegistry(registry); registry.put("beanId",aBean);
Anyway setting up several cxf endpoints and couple of beans takes some coding around and it's not so readible as a blueprint XML.