FYI as a workaround to this issue, I put the securityHandler in the restConfiguration and simply added an empty route with the other handler to my camel context:
<restConfiguration component="jetty" host="localhost" port="8080"> <endpointProperty key="handlers" value="securityHandler"></endpointProperty> </restConfiguration> <route><from uri="jetty:http://localhost:8080?handlers=jettyRequestLog"/><to uri="mock:test"/></route> -- View this message in context: http://camel.465427.n5.nabble.com/Rest-DSL-Jetty-multiple-handlers-causes-java-lang-StackOverflowError-tp5772952p5773363.html Sent from the Camel - Users mailing list archive at Nabble.com.