On Monday, August 29, 2011 3:41:41 PM KARR, DAVID wrote: > > -----Original Message----- > > From: Daniel Kulp [mailto:[email protected]] > > Well, I guess the right answer really is that you should not use a > > single port > > to issue concurrent requests if you want to be spec compliant. Either > > create > > a port per thread, use a pool of them, or synchronize on one so that > > the port > > is only ever issuing a single request at any given time. The spec > > does NOT > > provide any guarantees of thread safety of a port/proxy. An > > implementation > > may or may not be thread safe to use that way. If you want > > portable code, > > do not assume the port is thread safe at all. > > Sigh. Ok. > > Just to be clear, does CXF manage to provide a thread-safety guarantee for > the port, despite what the spec says?
Within the limit outlined in the faq, yes: http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
