RE: Sub-Agent in logs telling the version of apache cxf

2016-02-09 Thread Khare, Aparna
Thanks a lot Sergey. I tried both the options Setting browser type did not work but setting the Sub-Agent in header worked Thanks for the help, Aparna -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Sunday, February 7, 2016 9:46 PM To: users@cxf.apache.org

Re: Sub-Agent in logs telling the version of apache cxf

2016-02-09 Thread Sergey Beryozkin
Hi I just tried, the header goes out when it is set on HttpConduit but it is named as 'BrowserType' which looks like a typo because it is documented to be User-Agent, and I can find no links to BrowserType HTTP header (does not exist), I'll fix it shortly Thanks, Sergey On 09/02/16 15:20,

Re: Sub-Agent in logs telling the version of apache cxf

2016-02-07 Thread Sergey Beryozkin
Hi You can customize it, set a User-Agent header when the clients are created, ex, in jaxrs-client:client/jaxrs-client:headers, or in JAXRSClientFactoryBean, or directly on WebClient Another option is to set it up on HttpConduit, the property is called 'BrowserType' there. HTH, Sergey

Sub-Agent in logs telling the version of apache cxf

2016-02-06 Thread Khare, Aparna
Dear Colleagues, We are using apache CXF 3.0.7 and use Webclient to make an outbound HTTP call. We connect to the external endpoint from our systems .The external system would log from which agent the call is being intercepted. When a cxf client makes a call the logs are writtern