Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3456

AbstractHttpMethodFactory should extract retry handler parameter in setConfiguration method

    XMLWordPrintable

    Details

    • Estimated Difficulty:
      Low

      Description

      If you set your config like this:

      <action ... class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
      ...
      <property name="http-client-properties">
      <http-client-property name="http.method.retry-handler" value="com.foobar.MyRetryHandler"/>
      </property>

      or like this:

      <action ... class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
      ...
      <property name="file" value="http-client.properties"/>

      http-client.properties:
      http.method.retry-handler=com.foobar.MyRetryHandler

      , your custom retry handler is not picked up. This is NOT a bug in SOAPProxy.

      The bug is in both POSTHttpMethodFactory and GETHttpMethodFactory, where in the setConfiguration(ConfigTree):void method, the http-client-properties that are available in the passed-in ConfigTree are not set into the HttpMethod's HttpMethodParams.

      What should happen is that ANY property that starts with "http.method." should be set into the HttpMethodParams.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kconner Kevin Conner
              Reporter:
              dward David Ward
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: