Hi

I've noticed that when setting component, consumer, endpoint properties in REST DSL, once can only use String value (example, Map<String, String>), while in the related component/consumer/endpoint code there's an expectation that the values are Objects, Map<String, Object>.

Having String values can be a bit of a blocker when configuring a component, example, it is impossible to set up a CXF consumer with the custom provider instances.

I think it will be correct to relax a property type from String to Object in REST DSL but apparently properties are further wrapped into RestPropertyDefinition which is typed to have String values.

So it is impossible then to pass Non-String properties to a component behind a REST DSL route ? Or may be I'm missing something. Happy to do a patch but would like some clarifications first

Thanks, Sergey

Reply via email to