camel-fabric allows camel endpoints to be dynamically discovered via ZK, so you'd invoke that endpoint from camel via the endpoint name:
if you wanted to invoke your route from your browser you'd need a route that uses a normal jetty endpoint that then sends messages to the fabric endpoint, which will get directed to one of the routes that have registered using that name. It's mentioned here and you should check out this demo.
great..I read those notes and watch those videos. Those were helpful
now, when I deploy normal jetty endpoint, it gets deployed on one of the containers which is associated with the corresponding profile.
so, if I want to invoke this jetty endpoint, how do I do it?
should I use fabric server IP address in my URL or that instance IP address ?
http://<ipaddress of fabric or container???????>:8889/test2
below is my camel route:
Fabric CUMULUS3 Camel Example: $</simple> </setBody> <log message="Request received : $"/>
You'd use that instance's IP address.
thanks..it worked fine...