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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.10, 2.7.7, 3.0.0-milestone1
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: