Hi,I'm trying to set HTTP Authorization Policy as described in here http://camel.apache.org/spring-security.html. But I need to set it using JavaDSL: from("jetty://http://localhost:9090/api?matchOnUriPrefix=true") .routeId("Activation Endpoint") .routePolicyRef("admin_policy")But I get following exception:org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: auth_admin_policy of type: org.apache.camel.spi.RoutePolicyWould anyone be so kind to indicate where I might be having a problem?Thank you.
-- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-HTTP-Authorization-Policy-using-Java-DSL-tp5722325.html Sent from the Camel - Users mailing list archive at Nabble.com.
