Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9498

Gateway-http add slash at the end of the URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • jboss-fuse-6.3
    • Fabric8 v1, Gateway
    • None
    • % %
      • deploy a rest service with swagger
      • deploy gateway-http

    Description

      The gateway-http redirect the URL with adding slash at the end

      Proxying request /cxf/customer/swagger.json to service path: /cxf/customer/swagger.json/ on service: http://127.0.0.1:8183/cxf/customer reverseServiceUrl: http://0.0.0.0:9000/cxf/customer
      

      This cause an issue when we invoke the swagger service like following:

      http://localhost:9000/cxf/customer/swagger.json
      

      We got the following error:

      Exchange[ExchangePattern: InOnly, BodyType: null, Body: [Body is null], CaughtExceptionType: org.apache.camel.component.direct.DirectConsumerNotAvailableException, CaughtExceptionMessage: No consumers available on endpoint: Endpoint[direct://getListing]. Exchange[ID-csb-46072-1536865461382-0-8], StackTrace: org.apache.camel.component.direct.DirectConsumerNotAvailableException: No consumers available on endpoint: Endpoint[direct://getListing]. Exchange[ID-csb-46072-1536865461382-0-8]
      

      Attachments

        Issue Links

          Activity

            People

              johnpoth John Poth
              rhn-support-aboucham Abel Bouchama
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: