You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Detelin Yordanov (JIRA)" <ji...@apache.org> on 2008/07/07 15:11:31 UTC

[jira] Commented: (AXIS2-2688) Hand over HttpMethodParams to Commons HttpMethod objects

    [ https://issues.apache.org/jira/browse/AXIS2-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611149#action_12611149 ] 

Detelin Yordanov commented on AXIS2-2688:
-----------------------------------------

Hi,
  We also need some means to control the http send in our project. One recent requirement, for example, is to be able to specify connection retries.
It's really very simple to add some code that checks for HttpMethodParams in the MessageContext and, if found, copies them (or some of them) to the HttpClient's ones. 
Other solution would be to provide a callback mechanism so that users can get the HttpClient instance and tweak it the way they like (currently
it's being cached in the message context, and should be possible to modify it for subsequent requests, but not for the first one).

> Hand over HttpMethodParams to Commons HttpMethod objects
> --------------------------------------------------------
>
>                 Key: AXIS2-2688
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2688
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Wish
>          Components: kernel
>    Affects Versions: nightly
>            Reporter: stefan stieglitz
>            Assignee: Saminda Wishwajith Abeyruwan
>
> In order to use Axis2 in a production setup, the user needs more control over the way http requests are performed. Among other things there must be a mechanism to customize the exception handling of the http client. The commons http client project provides this with the HttpMethodParams object. It would be useful to republish the method options defined by this object as axis2 options or at least to provide a way to specify a custom HttpMethodParams instance for example in the message context. 
> I suppose there is a need for more message control with other transport mechanism too, though I did not check this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org