Re: cxf interceptors in 2.0 api

2016-10-19 Thread Romain Manni-Bucau
https://issues.apache.org/jira/browse/CXF-7098 Romain Manni-Bucau @rmannibucau | Blog | Old Wordpress Blog | Github | LinkedIn

Re: cxf interceptors in 2.0 api

2016-10-19 Thread hwaastad
Let me quote Ben Stiller from the movie Starsky and Hutch: " Do ItDo It" :-) Please do. I think issues having your name on it probably moves up the priority list :-) thx, hw -- View this message in context:

Re: cxf interceptors in 2.0 api

2016-10-19 Thread Romain Manni-Bucau
Think it comes from your async() usage on the client side. CXF has a multi phase handling and it leads to having 2 threads doing the logging for fast executions. Feel free to open a ticket on CXF bugtracker (I can do it as well if you prefer) Romain Manni-Bucau @rmannibucau

Re: cxf interceptors in 2.0 api

2016-10-19 Thread hwaastad
Hi, just a simple test https://github.com/hwaastad/Cxf-Debug.git /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/cxf-interceptors-in-2-0-api-tp4680333p4680394.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: cxf interceptors in 2.0 api

2016-10-18 Thread hwaastad
Well, these are: okt 18, 2016 9:08:10 AM org.apache.cxf.interceptor.LoggingOutInterceptor INFO: Outbound Message --- not too much info I guess. Made my own loggingfeature by extending abstractfeature and logging interceptor is only added once. I observe that the payload

Re: cxf interceptors in 2.0 api

2016-10-17 Thread Romain Manni-Bucau
The 2 lines before you copy/paste would be interesting as well. Can be a lot of things like - bad logging config - server and client logs being mixed - feature being added twice - ... You can put a breakpoint in the in interceptor and check it is or not the same instance maybe. Le 17 oct. 2016

Re: cxf interceptors in 2.0 api

2016-10-17 Thread hwaastad
BTW, not sure if this is a cxf or tomee issue, but I've noticed something strange. I'm invoking an async client and if I register the loggingfeature it prints out two response, one with payload, the other without. Like this: ID: 1 Address: https://myapi/service Http-Method: POST Content-Type:

Re: cxf interceptors in 2.0 api

2016-10-17 Thread hwaastad
Hi, yep, That's what I found out aswell, but feature was what I was looking for. Thx, hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/cxf-interceptors-in-2-0-api-tp4680333p4680335.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: cxf interceptors in 2.0 api

2016-10-17 Thread Romain Manni-Bucau
Hi we purely rely on cxf for that so that's more a cxf question. I know cxf features (org.apache.cxf.feature.Feature) have been wired on the jaxrs client API (I often use the old loggingfeature). I only checked org.apache.cxf.jaxrs.client.spec.ClientImpl.WebTargetImpl#request() but I don't think