With Rest DSL, how to proxy all of url path without listing each one of them

Solution Unverified - Updated -

Issue

With Rest DSL, how to proxy all of url path without listing each one of them?
For example
localhost:8001/service/a -> back:9001/service/a
localhost:8001:service/b/c -> back:9001/service/b/c
localhost:8001:service/d/e/f -> back:9001/service/d/e/f

In the future, the backend server might provide another service, so it's better to proxy those new services without modifying the existing rest DSL.

Environment

  • Red Hat Fuse
    • 7.6

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