On Thu, Jun 7, 2018 at 10:58 AM, Thorsten Schöning <tschoen...@am-soft.de> wrote:
> Guten Tag robertlazarski, > am Donnerstag, 7. Juni 2018 um 18:18 schrieben Sie: > > > The Apache httpcomponents lib from the client [...] can tune some of > > the rate behavior. > > So "7.1. Custom client connections" seem to be the way to go: Provide > a custom HttpConnectionFactory and make Axis2 to use that, while I've > already provided a custom connection manager to Axis2 in the past with > non-default settings. What I'm missing currently is the part where the > request body gets serialized, "DefaultHttpRequestWriterFactory" reads > like it only handles headers... > > https://hc.apache.org/httpcomponents-client-ga/ > tutorial/html/advanced.html#d5e913 I see. If you think your code may be generally useful please consider submitting patches. Since request.getInputStream() can only be called once, a trick is to read it in a filter first so then the stacktrace shows the read location. In my funky GSON setup I am currently working on, that is occurring in AxisServlet.doPost() . Regards, Robert > > > > Really though, I would first look at nginx or some type of proxy > > server first as that is perhaps the best tool for the job. > > I'll keep that in mind, already had a quick look at Squid, which my > customer is using anyway and that sounds promising as well. Using > something in my app/Axis2 might provide the benefit of less admin > overhead for my customer, though. Some parts of his infrastructure are > even outsourced and can't be influenced easily. > > Mit freundlichen Grüßen, > > Thorsten Schöning > > -- > Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de > AM-SoFT IT-Systeme http://www.AM-SoFT.de/ > > Telefon...........05151- 9468- 55 > Fax...............05151- 9468- 88 > Mobil..............0178-8 9468- 04 > > AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln > AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > For additional commands, e-mail: java-dev-h...@axis.apache.org > >