How to limit concurrent requests served by resource?

2016-01-15 Thread Vjacheslav V. Borisov
Hi, How to limit concurrent requests served by specific resource, or by application iteself? Found this thread http://stackoverflow.com/questions/5563442/how-to-set-limit-to-the-number-of-concurrent-request-in-servlet Should i do something like showed in accepted answer, or cxf has his limit

Accessing init-param in spring with servlet transport

2016-01-15 Thread Paul Millar
Hi, I have a small JAX-RS application that I'm running through the servlet transport. I'd like to make the application configurable via init-param settings in the corresponding web.xml file. I would like to keep the code transport-neutral, so wanted to inject properties using the

Re: How to limit concurrent requests served by resource?

2016-01-15 Thread Sergey Beryozkin
Hi CXF ships its own throttling feature, Dan did it, see https://fisheye6.atlassian.com/browse/cxf/distribution/src/main/release/samples/throttling The threads will be temporarily suspended If the threshold is reached. One thing that still needs to be done is to support actually returning

[Discuss] Working with secured JMS in weblogic requires InitialContext stay open per thread

2016-01-15 Thread Christian Schneider
I am working on a JMS issue reported by Guillaume. He reported that a secured weblogic jms can not be accessed with the current JMS transport. The reason seems to be that Weblogic seems to establish a security context on the thread when the InitialContext is opened. It will remove that

RE: CXF remove some namespaces

2016-01-15 Thread Neng.Xu
I have a similar requirement which is to remove unused namespaces from SOAP message dynamically. As Daniel indicated " JAXB adds namespaces prefixes on the root for every namespace it knows about so it doesn't have to do it later" JAXB adds namespace prefixes based on service xml schema. A