camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <>
Subject How to set not string properties in rest dsl
Date Fri, 20 Nov 2015 12:46:07 GMT
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:


     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:
Sent from the Camel - Users mailing list archive at

View raw message