camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kumar5 <>
Subject camel-2.16.2 spring and java DSL register
Date Fri, 08 Apr 2016 14:42:04 GMT
i am using camel-2.16.2 , spring boot  and java DSL.   As document says if
spring then use ApplicationContextRegistry but ApplicationContextRegistry
doesn't have any method to added  registry.  
i want to register  bean in Java DSL. please any one help me on this.

     RouteBuilder createRouteBuilder() {
        return new RouteBuilder() {
		public void configure() {
            	CamelContext context = getContext();
            	PropertyPlaceholderDelegateRegistry registry =
            	ApplicationContextRegistry aRegistry =
(ApplicationContextRegistry) registry.getRegistry();

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message