> A RouteBuilder is not necessarily gonna be XML marshallable via JAXB; > so we might just wanna refer to RouteBuilder instances by ID in the > XML.
I believe we should allow this in namespace notation. But just to solve Dominic's problem maybe instead of creating our context via <camelContext> we could simply do <bean class="org.apache.camel.spring.CamelContextFactoryBean"> <property name="routeBuilder" ref="myConfiguredBuilder/> </bean> It should work, shouldn't it? Romek
