I am using restlet component and want to set the property "restletRealm" on
it. My problem is that all set Property methods only take a string as value.
 So i get an exception that string can not be converted to map if i set:

       
restConfiguration().component("restlet").port(port).endpointProperty("restletRealm",
"realm");

With:
     registry.put("realm", <Map&lt;String, String> with one entry>);

(i am using simple registry). So i tried to change property key to
"restletRealmRef" but with this the method setRestletRealm(Map<String,
String> restletRealm) is never called and realm keeps null.

The odd thing here is with "restletRealmRef" set i get 404 for every request
on every endpoint.
 




--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-not-string-properties-in-rest-dsl-tp5774149.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to