On Wednesday, November 30, 2011 10:24:42 AM Itamar_t wrote: > Hi, > > I'm using cxf client to invoke services on a payment gateway. > on application startup, I'm doing: > > SomeService ss = new SomeService(wsdlURL, SERVICE_NAME); > ISomeService port = ss.getBasicHttpBindingISomeService(); > > then I'm using this port from my application. > > my question is: can it be a bottleneck that I'm only using a single port? > should I pool the 'port' instances? and if I should - is there any out of > the box solution for this? (if its need to be built, I'll be happy to upload > my code)
It shouldn't be much of a bottleneck at all EXCEPT for WS-Trust/WS-SecureConv cases. Also see: http://cxf.apache.org/faq#FAQ-AreJAXWSclientproxiesthreadsafe%3F for some more information about the thread safety of the proxy. Dan > > Thanks in advance, > Itamar > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/client-proxies-and-performance-tp5036379p50 > 36379.html Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
