Yes this should be sufficient, however it is possible to enable a cxfrs server with a URI only without directly creating a bean, so in that case it can be handy to refer to specific instances...

Sergey
On 27/08/15 15:25, chaituu wrote:
registered cors-filter bean id like this.

<bean id="cors-filter"
class="org.apache.cxf.rs.security.cors.CrossOriginResourceSharingFilter"/>


  <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>



--
View this message in context: 
http://camel.465427.n5.nabble.com/java-lang-NumberFormatException-For-input-string-cors-filter-in-camel-cxfrs-2-15-version-tp5771009p5771019.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to