Fabric - The swagger service is not reachable by the gateway-http

Solution Verified - Updated -

Issue

  • When we try to access to the swagger service http://localhost:9000/cxf/customer/swagger.json from the gateway-http, 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]
  • When we invoke the swagger service via the gateway-http not answer received.

Environment

  • Red Hat Fuse
    • 6.3.0
  • Fabric managed environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.