0 Replies Latest reply on Nov 13, 2012 1:48 PM by spandit2

    Camel routes and REST services

    spandit2

      Hello Experts ,

       

      We have recently started using FUSE ESB in our application . The application has some camel routes and REST services . The REST services are exposed by multiple bundles  and we can consume them from outside .

       

      However we have some routes that needs to consume these rest services. So my questions is how can we consume these REST services in Camel route without hard coding the port number . I understand we will have to use HTTP connector . 

       

      Is there a way to simply include relative URL and camel adds host name and port number automatically .

       

      We understand we can use property place holder , which requires port to be avilable in a property file . We see this as a configuration overhead to configure port in jetty.xml as well as in application specific property file.

       

      I would appreciate any insights on this issue .

       

      Sunil