You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/09/02 11:20:09 UTC

[jira] [Resolved] (CAMEL-3510) cxf namespace should support Camel properties placeholder out of the box

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

Willem Jiang resolved CAMEL-3510.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)

Applied patch into trunk.
Now, you can set most CXFEndpoint attributes with Camel properties except the namespace which is parsed differently.

> cxf namespace should support Camel properties placeholder out of the box
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-3510
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3510
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.9.0
>
>
> For example
> {code:xml}
>  <cxf:cxfEndpoint id="myServiceEndpoint" 
>      wsdlURL="src/main/resources/wsdl/my.wsdl"
>      serviceClass="com.mycompany.MyService"
>      endpointName="s:MyPort"
>      serviceName="s:MyService"
>      address="{{myservice.address}}"
>      xmlns:s="{{myservice.namespace}}" >
> {code}
> Where we want to externalize the address and namespace into a properties file, and use the Camel properties resolver.
> http://camel.apache.org/properties

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira