How to define 2 restconfiguration(each REST uses different ports) in a single CamelContext?

Solution Verified - Updated -

Issue

  • Is there any way to define multiple restConfiguration within a single CamelContext?
  • If not, how to define multiple Rest Services with different ports?
Rest DSL A: port 8080  // Service A
Rest DSL B: port 8081  // Health Check

Environment

  • Red Hat Fuse
    • 7.x
    • Spring Boot2 Runtime

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content