camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9170) SimpleCxfRsBinding improvements
Date Fri, 25 Sep 2015 16:03:04 GMT

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

Claus Ibsen commented on CAMEL-9170:
------------------------------------

Oh I wonder if some special CXF version is required. The patch gives me

{code}
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/davsclaus/workspace/camel/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java:[367,44]
error: cannot find symbol
[ERROR]   symbol:   method getModelResources()
  location: variable endpoint of type CxfRsEndpoint
/Users/davsclaus/workspace/camel/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java:[368,60]
error: cannot find symbol
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.560 s
[INFO] Finished at: 2015-09-25T18:03:16+02:00
[INFO] Final Memory: 41M/743M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile
(default-compile) on project camel-cxf: Compilation failure: Compilation failure:
[ERROR] /Users/davsclaus/workspace/camel/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java:[367,44]
error: cannot find symbol
[ERROR] symbol:   method getModelResources()
[ERROR] location: variable endpoint of type CxfRsEndpoint
[ERROR] /Users/davsclaus/workspace/camel/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java:[368,60]
error: cannot find symbol
{code}

> SimpleCxfRsBinding improvements
> -------------------------------
>
>                 Key: CAMEL-9170
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9170
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxfrs
>            Reporter: Sergey Beryozkin
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: PatchAvailable
>             Fix For: 2.16.0
>
>         Attachments: camel9170.txt
>
>
> SimpleCxfRsBinding should:
> - ensure the Camel In Message body is null when the body index is -1 and it is not multipart
- the default binding which SimpleCxfRsBinding extends still sets the body to a CXF specific
response even if no body is available - which causes side-effects when a RestDsl binding is
enabled.
> - should work if a CXF RS model is used as opposed to the interface
>  



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

Mime
View raw message