camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Koscejev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9270) rest-dsl - CORS support doesn't work with Restlet 2.3
Date Thu, 29 Oct 2015 09:24:27 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980106#comment-14980106
] 

Anton Koscejev commented on CAMEL-9270:
---------------------------------------

Proper solution should probably involve org.restlet.service.CorsService or org.restlet.engine.application.CorsFilter.
Some non-camel example: http://stackoverflow.com/questions/28988671/how-to-use-cors-in-restlet-2-3-1



> rest-dsl - CORS support doesn't work with Restlet 2.3
> -----------------------------------------------------
>
>                 Key: CAMEL-9270
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9270
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-restlet
>    Affects Versions: 2.16.0
>            Reporter: Anton Koscejev
>
> camel-restlet has upgraded to Restlet 2.3 (nice!), but this broke rest-dsl CORS support,
because Restlet 2.3 no longer supports setting CORS headers via attributes. There are now
API methods for these headers and attributes are ignored with a warning.
> Example of the new API method:
> http://restlet.com/technical-resources/restlet-framework/javadocs/2.3/jse/api/org/restlet/Response.html#setAccessControlAllowOrigin%28java.lang.String%29



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message