I am having issues combining Camel Proxying with Shiro for authentication and wanted to know if anyone else has had a similar problem. Please let me know if I should attach the source code of the project?
The Key line is below where I am making a camel proxy as a dependency of the realm. I am guessing that shiro is being setup before the Camel Context has been fully initialized. Any guidance would be appreciated. @Bean public SimpleAccountRealm simpleAuthorizingRealm(MathService service) { SimpleAccountRealm realm = new SimpleAccountRealm(); realm.addAccount("bob", "password"); return realm; } Below is the specific error I am receiving: Caused by: java.lang.IllegalArgumentException: camelContext or camelContextId must be specified at org.apache.camel.spring.remoting.CamelProxyFactoryBean.afterPropertiesSet(CamelProxyFactoryBean.java:54) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1545) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483) ... 72 more -- View this message in context: http://camel.465427.n5.nabble.com/Combining-Camel-Proxying-with-Shiro-for-authentication-Issue-tp5729345.html Sent from the Camel - Users mailing list archive at Nabble.com.