Normally you should not use the context property.

Just set a org.apache.cxf.rs.address=/rest/v1

It will result in /cxf/rest/v1.
Would that be a problem?

Christian


On 17.07.2016 21:27, Benson Margulies wrote:
I think you are mixing in org.apache.cxf.rs.address, which is what is
documented to cause the direct use of the HTTP transport.


On Sun, Jul 17, 2016 at 3:26 PM, Sergey Beryozkin <[email protected]> wrote:
On 17/07/16 22:19, Benson Margulies wrote:
If I have a setting in

etc/org.apache.cxf.osgi.cfg

of

org.apache.cxf.servlet.context=/rest

and then I set a service property of

org.apache.cxf.rs.httpservice.context=/v1

I'm expecting to net out to /rest/v1. Is that what a good belief?

I vaguely recall that setting the former means DOSGI will itself register a
servlet with OSGI HTTP Service, in the latter case you are configuring a
default CXF Servlet which CXF HttpTransport registers.
There could be some variations there, Christian knows it all

Sergey



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to