Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-23 Thread Scott England-Sullivan
Hi Lars, There is a bug currently that prevents the component from resolving a "match any" consumer endpoint with a bridged producer. I have opened a ticket a provided a patch. You can follow the details here: https://issues.apache.org/jira/browse/CAMEL-5458 Until then, I believe you can confi

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-22 Thread helander
Hi Sully and thanks for the input. Now I think I know how it works, but I have an additional question: Both entries in the config file specifies "http://localhost:8181";, is it possible do something like: "http://localhost:8181/system/console"; on one and "http://localhost:8181/cxf"; on the o

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-20 Thread Scott England-Sullivan
Lars, I created an example project that can be reviewed here: https://github.com/sully6768/camel-sandbox/tree/trunk/examples. It uses the latest Fuse ESB 4.4.1 if you want to try it out. There is a small write up under the proxy project. Both projects are required though if you want to actually

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Hi Scott, and thank you very much for the information you provided so far. I am looking forward for the additional details you so kindly intended to provide. However at this point I do not understand how this will going to solve my "requirements", but maybe that will be totally clear when you prov

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread Scott England-Sullivan
As Christian suggested earlier, if you are using ServiceMix uncomment the ${SMX_HOME}/etc/org.ops4j.pax.web.cfg.empty.stub file. If you are using Karaf create the ${KARAF_HOME}/etc/org.ops4j.pax.web.cfg file. Using the SMX provided property file as the example enable the following: org.osgi.serv

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Hi Scott, I need to look more into your suggested solutions. Can I find more detailed information about them somewhere? Could you elaborate a bit more on what this means? > locking Karaf's HTTP Service to local host > Thanks Lars -- View this message in context: http://camel.465427.n5.nab

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread Scott England-Sullivan
Hi Lars, I have found that the easiest approach to your issue is to use Camel as an HTTP/S proxy and locking Karaf's HTTP Service to local host. You gain greater flexibility and an additional filter layer if needed. Write it with CM service configuration support to add a dynamic producer driven

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
I just realized from your description that CXF does not explicitly register with the http services, but rely on the Pax Web Whiteboard extender to perfom the registration. This means that it would not be possible to use a service filter between CXF and the http service (the whiteboard extender woul

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Willem, thanks for the clarification regarding the registration of the cxf servlet. May I propose to add a configuration parameter to cxf that defines a service lookup filter to be used when cxf finds the http service. This should be fairly simple to introduce, if the filter config is defined then

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-18 Thread Willem Jiang
Hi, Please checkout my comments in the below email. On Thu Jul 19 05:35:55 2012, helander wrote: Hi Christian, I am using Karaf 2.2.8. I wanted to create a setup where I had two separate web servers (two Pax Web instances) each with its own set of configuration parameters (port numbers, secur

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-18 Thread helander
Hi Christian, I am using Karaf 2.2.8. I wanted to create a setup where I had two separate web servers (two Pax Web instances) each with its own set of configuration parameters (port numbers, security settings etc). Access to my cxf endpoints should only be possible via one of these web servers.

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-18 Thread Christian Müller
Hello Lars! Which version of Karaf do you use? Find my comments inline. Best, Christian On Wed, Jul 18, 2012 at 8:07 PM, helander wrote: > I am using cxfEndpoints with Pax Web in a Karaf container (and Camel routes > consuming from these endpoints). > > I like the way that I only have to speci