In Camel 2.15.x we has two JettyComponents to support Jetty9 and Jetty8 at the
same time.
If you want to instantiate one of the Jetty component, you cannot use the
JettyHttpComponent any more, as it is abstract class now.
If you want to use Jetty9, you need to use the class”JettyHttpComponent9",
FYI, The stack over flow issue was addressed by CAMEL-8036.
As we setup the security handler directly on the server, it is impossible to
set up two different security handler on the camel jetty endpoints which
share the same Jetty component(Jetty server).
--
View this message in context:
http:/
I've had similar problems
(http://camel.465427.n5.nabble.com/Rest-DSL-how-to-configure-SSL-Basic-Auth-for-Jetty-component-td5758003.html)
and therefore created a github project
(https://github.com/RovoMe/CamelMultipleJettyComponents/tree/rest-dsl) to
test Camel's REST-DSL with SSL/Basic Auth config
If you look at the active documentation, you'll find that there is a REST
adapter for it. That might help if you are determined to use JMS for
this. I haven't implemented the activemq rest adapter with Camel but I'm
sure there is a way to do it.
Ryan
On Sat, May 30, 2015, 2:18 AM dbonnin wrot