Camel
  1. Camel
  2. CAMEL-3510

cxf namespace should support Camel properties placeholder out of the box

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.9.0
    • Component/s: camel-cxf
    • Labels:
      None

      Description

      For example

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

      Where we want to externalize the address and namespace into a properties file, and use the Camel properties resolver.
      http://camel.apache.org/properties

        Issue Links

          Activity

          Hide
          Willem Jiang added a comment -

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

          Show
          Willem Jiang added a comment - Applied patch into trunk. Now, you can set most CXFEndpoint attributes with Camel properties except the namespace which is parsed differently.

            People

            • Assignee:
              Willem Jiang
              Reporter:
              Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development