[
https://issues.apache.org/jira/browse/HTTPCLIENT-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552808
]
Sagi Mann commented on HTTPCLIENT-720:
--------------------------------------
Clarifications:
1. the goal IS to provide some global http connection pool. But: bare in mind
that basic Java http connections do not provide proxy support, security
features, etc. So, this is an attempt to make all of those features (already
supported by HttpClient) available to EJB's. Improvement suggestions to
existing code will be appreciated...
2. you're right about the properties com.retailermade.... I should update &
document this
3. correct about the consumption of the response. Actually, I should have left
it to the application. The stream consuption routine (i.e. while(... != -1)
thing) should be removed. Instead, the EJB should call:
myconnection.execute();
while (myconnection.getHttpMethod().getResponseBodyAsStream().read() != -1);
> HttpClient Resource Adapter (JCA1.5)
> ------------------------------------
>
> Key: HTTPCLIENT-720
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-720
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: Contrib
> Affects Versions: 3.1 Final
> Environment: JCA1.5-compliant application server
> Reporter: Sagi Mann
> Priority: Minor
> Attachments: HttpClientRA.zip
>
>
> Allow Java Enterprise applications (J2EE/JEE) to use HttpClient, by providing
> HttpClient as a standard Resource Adapter (JCA 1.5)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]