Hi, I have created a context using camel context xml. I have set the id of an endpoint while configuring,
<from uri="jetty:http://localhost:8888/ussdService?sessionSupport=true" id="ussd-1"> I need to get this value during execution. I tried the following code to get the id in processor of the endpoint DefaultEndpoint endpoint = (DefaultEndpoint) exchange.getFromEndpoint(); System.out.println("Endpoint ID:"+endpoint.getId()); but i get endpoint1 as the id but not what I configured in the context. I am using fuse 7.1. Thanks in anticipation. Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/How-to-get-Id-of-an-Endpoint-tp5730470.html Sent from the Camel - Users mailing list archive at Nabble.com.