Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
jboss-fuse-6.3
-
None
-
%
-
Description
I am using 6.3R6 to test the gateway http.
using the quickstart jboss-fuse-6.3.0.redhat-329/quickstarts/cxf/camel-cxf-contract-first/
but I found the httpgateway does not work. There is no response from http://localhost:9000/cxf/contract_first_order/
in the httpgateway, log indicated:
2018-03-20 15:18:05,915 | INFO | entloop-thread-0 | HttpGatewayHandler | 140 - io.fabric8.gateway-core - 1.2.0.redhat-630329-05 | Could not find matching proxy path for /cxf/contract_first_order/ from paths: [/cxf/contract_first_order//, /servlets/io.fabric8.fabric-maven-proxy/maven/download/, /servlets/io.fabric8.fabric-jolokia/jolokia/, /git/fabric/, /servlets/org.apache.cxf.cxf-rt-transports-http/cxf/, /servlets/io.fabric8.fabric-git-server/git/, /servlets/io.fabric8.fabric-maven-proxy/maven/upload/]
the workaround is to change the address="/contract_first_order/" to address="/contract_first_order"
<cxf:cxfEndpoint id="orderEndpoint" address="/contract_first_order/" serviceClass="camelinaction.order.OrderEndpoint"/>