getting below error when i used camel 2.15.2 version .Is it required to append cors-filter in the from endpoint <from uri="cxfrs://bean://dsServer?providers=#cors-filter"/> as I have already referenced cors-filter in <cxf:providers> tag in the CxfRs endpoint.
when i removed providers=#cors-filter option in cxfrs://bean://dsServer then its working fine. Caused by: java.lang.IllegalArgumentException: Could not find a suitable setter for property: providers as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: java.util.List with value #cors-filter <cxf:rsServer id="dsServer" address="http://0.0.0.0:10089/test" serviceClass="com.xxx.xxx.xx.testservice" loggingFeatureEnabled="true" loggingSizeLimit="20"> <cxf:providers> <ref bean="cors-filter"/> </cxf:providers> </cxf:rsServer> <camel:camelContext xmlns="http://camel.apache.org/schema/spring" id="xxxx" trace="true"> <route id="test"> <from uri="cxfrs://bean://dsServer?providers=#cors-filter"/> <setBody> <constant>abcd</constant> </setBody> <to uri="log:com.xxx?level=INFO"/> </route> </camel:camelContext> -- View this message in context: http://camel.465427.n5.nabble.com/getting-exception-for-appending-option-providers-cors-filter-in-camel-cxfrs-tp5771009.html Sent from the Camel - Users mailing list archive at Nabble.com.