On Monday, January 16, 2012 4:00:35 AM Paul Baker wrote:
> Hi Daniel,
>
> Two Questions:
>
> Questions:
> For R&R services, is the same thread used for all phases: inbound
> interceptores, service invokation, outbound?
In the absence of WS-Addressing or WS-RM (which implies WS-Addressing), then
void unsetContext() {
userThreadLocal.remove();
}
Paul
--
View this message in context:
http://cxf.547215.n5.nabble.com/Thread-Local-Storage-not-working-in-CXF-Interceptors-tp4439646p5148525.html
Sent from the cxf-user mailing list archive at Nabble.com.
On Monday, May 30, 2011 1:27:15 PM Blue Diamond wrote:
> Hi Sergey,
>
> Thanks for your quick response. This is how I am starting a JAXRS endpoint
> & engaging interceptors:
>
> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
> factory.setServiceBean(this);
> factory.setAddress(url
Sorry. My bad. The value being set in TLS was NULL which created the
confusion :)
Thanks & Regards,
Anil
On Tue, May 31, 2011 at 12:40 AM, Sergey Beryozkin wrote:
> Hi
>
> On Mon, May 30, 2011 at 6:27 PM, Blue Diamond wrote:
> > Hi Sergey,
> >
> > Thanks for your quick response. This is how I a
Hi
On Mon, May 30, 2011 at 6:27 PM, Blue Diamond wrote:
> Hi Sergey,
>
> Thanks for your quick response. This is how I am starting a JAXRS endpoint &
> engaging interceptors:
>
> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
> factory.setServiceBean(this);
> factory.setAddress(ur
Hi Sergey,
Thanks for your quick response. This is how I am starting a JAXRS endpoint &
engaging interceptors:
JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
factory.setServiceBean(this);
factory.setAddress(url);
factory.getInInterceptors().add(new Interceptor1(this));
factory.get
Can you describe at what stage you are trying to retrieve a TLS property ?
When does the 2nd interceptor run ?
thanks, Sergey
On Mon, May 30, 2011 at 4:29 PM, Blue Diamond wrote:
> Hi,
>
> I have a couple of SoapInterceptors engaged to my REST/WS service. In the
> first interceptor, I am setting
Hi,
I have a couple of SoapInterceptors engaged to my REST/WS service. In the
first interceptor, I am setting a TLS variable. But I am not able to get the
TLS variable from inside the second interceptor. Does CXF spawn multiple
threads for interceptors? Why is TLS not working in this case? What sh