Re: CXF service config file from multiple location with conditions

2018-04-19 Thread vEnkaTa mohAna rAo SriperumbUdUru
In my opinion you can do that, override the class CXFServlet class and override the method load bus especially the following logic. String configLocation = servletConfig.getInitParameter("config-location"); if (configLocation == null) { try { InputStream is =

CXF service config file from multiple location with conditions

2018-04-19 Thread Tóth Csaba
Hello! I'd like some config loading with conditionals: I'd like to put the config outside the war/webapp directory (the tomcat running in autodeploy mode, and dont have rights to change it). I'd like, the cxf search the config file in the location1, and if not found in the location2, and until