Configuration()
> .component("jetty")
> .host("localhost")
> .port("8082")
> //.scheme("https")
> .contextPath("rest")
> .bindingMode(RestBindingMode.auto)
> .dataFormatProperty("prettyPrint", "true");
>
> rest("/say")
> .get("/hello").to("direct:hello")
> .get("/bye").consumes("application/json").to("direct:bye")
> .post("/bye").to("mock:update");
>
> from("direct:hello")
> .transform().constant("Hello World");
> from("direct:bye")
> .transform().constant("Bye World");
> }
> }
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Rest-DSL-with-jetty-and-SSL-tp5767572.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
abled. If you have enabled the
basic auth handler you should be asked for user credentials (user=admin;
pw=secret)
Hope this helps and Claus or Willem can have a look at those issues
--
View this message in context:
http://camel.465427.n5.nabble.com/Rest-DSL-with-jetty-and-SSL-tp5767572p5767688.html
Sent from the Camel - Users mailing list archive at Nabble.com.
)
> .contextPath("rest")
> .bindingMode(RestBindingMode.auto)
> .dataFormatProperty("prettyPrint", "true");
>
> rest("/say")
> .get("/hello").to("direct:hello")
> .get("/bye").consumes("application/json").to("direct:bye")
> .post("/bye").to("mock:update");
>
> from("direct:hello")
> .transform().constant("Hello World");
> from("direct:bye")
> .transform().constant("Bye World");
> }
> }
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Rest-DSL-with-jetty-and-SSL-tp5767572.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
/say")
.get("/hello").to("direct:hello")
.get("/bye").consumes("application/json").to("direct:bye")
.post("/bye").to("mock:update");
from("direct:hello")
.transfor