Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5148

can't use property place holder in http:server|http:client with blueprint

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.10, 2.7.7, 3.0.0-milestone1
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      some configuration like

          <cm:property-placeholder persistent-id="org.apache.servicemix.examples">
              <cm:default-properties>
                  <cm:property name="ReceiveTimeout" value="1"/>
                  <cm:property name="contentType" value="my-content"/>
              </cm:default-properties>
          </cm:property-placeholder>
      
          <http-conf:destination
                  name="*.http-destination">
              <http-conf:server ReceiveTimeout="${ReceiveTimeout}"
                            ContentType="${contentType}"/>
          </http-conf:destination>
      
      

      or

      <http:conduit id="identificationConduit" name="*">
          <http:client ConnectionTimeout="${connect-timeout}"
             ReceiveTimeout="${read-timeout}" />
      </http:conduit>
      

      The placeholder here never get replaced.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ffang Freeman Yue Fang
                Reporter:
                ffang Freeman Yue Fang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: