1 Reply Latest reply on Jan 27, 2013 3:12 AM by evavl

    Restlet with basic auth example

    evavl

      I have been looking at restlet component and I need to setup basic auth. Documentation states it can be done by setting up restletRealm. I cannot find a complete Spring DSL example of this, only fragments:

       

      ...

      from("restlet:http://localhost:9080/securedOrders?restletMethod=post&restletRealm=#realm").process(new Processor() {

      ...

       

       

       

       

      I would like to see an example file camel-context.xml with the complete setup to make this work.

       

      Thanks.