You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Cédric Exbrayat (Reopened JIRA)" <ji...@apache.org> on 2011/12/20 14:55:30 UTC

[jira] [Reopened] (CAMEL-4788) CxfRs and properties

     [ https://issues.apache.org/jira/browse/CAMEL-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cédric Exbrayat reopened CAMEL-4788:
------------------------------------


Willem, the actual version does not work, I think that the address should be also modified in the AbstractJAXRSFactoryBean (as I was trying to do in the first rough patch).

You can find a patch with an enhanced unit test that just check if the connection is ok (even with 404). Actually this test failed.
The other patch just show how it can be fixed to pass the test
                
> CxfRs and properties
> --------------------
>
>                 Key: CAMEL-4788
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4788
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.9.0, 2.10
>            Reporter: Cédric Exbrayat
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: cxfrs-properties-404-test.diff, cxfrs-properties-test.diff, cxfrs-properties.diff
>
>
> If you declare an endpoint like
> <cxf:rsServer id="testEndpoint" address="{{address}}" serviceClass="org.apache.camel.component.cxf.jaxrs.testbean.CustomerService" />
> the address is not resolve with the properties.
> It would be useful, as it is possible for CxfEndpoint. 
> You can find with this issue, a small patch with a unit test to reproduce this use case, and a (naive but working) patch that fix the issue for us.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira