CamelMain
如果我的 camel-context.xml 包含此 cxf Endpoint,那么当我在开发环境中本地运行时,默认 url 是什么?
<cxf:cxfEndpoint id="myService"
address="/MyService"
serviceClass="com.mycompany.MyServicePort"
wsdlURL="schema/MyService.wsdl">
</cxf:cxfEndpoint>
是http://localhost:8181/MyService
吗?
我不想具体指定服务器address="http://localhost:8181/MyService
,因为应用程序正在部署到 openshift,而且它似乎与“相对”端点一起运行得最好:address=/MyService
.
上述配置在使用这种端点部署到 openshift 时有效:
http://openshift-test.mycompany.com/openshift-myservice/MyService
所以,我想在本地运行相同的配置,但默认端点是什么?http://localhost:..../.../MyService