Could you try to create separate proxy per thread, would it fix the issue? Regards, Andrei.
> -----Original Message----- > From: membersound2 [mailto:[email protected]] > Sent: Mittwoch, 3. Dezember 2014 08:37 > To: [email protected] > Subject: RE: How to pass dynamic values to OutInterceptor for HTTP headers? > > I tried this, but somehow my application is not threadsafe thereby. > > I tested it as follows (pseudocode): > > run client 1 > add valid http header with thread.local but asleep run client 2 add invalid > (credentials) http header execute xml request for client 2 (which fails of > course) resume client 1 execut xml request (which fails also with the invalid > credentials) > > So, does this mean I probably cannot make the ports threadsafe in my case? > > > > -- > View this message in context: http://cxf.547215.n5.nabble.com/How-to-pass- > dynamic-values-to-OutInterceptor-for-HTTP-headers-tp5751779p5751830.html > Sent from the cxf-user mailing list archive at Nabble.com.
