my camel version is 2.7.2, and the route use compoment sunlink created
myself.
i configure some endpoints in xml file like:
<endpoint id="WXFPH" uri="sunlink://0.0.0.0:5090"/>
<endpoint id="SZFPH" uri="sunlink://0.0.0.0:5091"/>
sunlink component is like a socket server, so my program like:
RouteDefinition routeA = new RouteDefinition();
routeA.from(WXFPH.uri).process(MyProcessor);
routeA.setId("WXFPF");
camelContext.addRouteDefinition(routeA);
RouteDefinition routeB = new RouteDefinition();
routeB.from(SZFPH.uri).process(MyProcessor);
routeB.setId("WXFPF");
camelContext.addRouteDefinition(routeB);
so if i start the camelContext then the 5090 and 5091 port are listening.
the client send message to port 5091, but i get the routeId from Exchange by
getFromRouteId() is "WXFPH", not "SZFPH" that i expect.
--
View this message in context:
http://camel.465427.n5.nabble.com/why-i-get-the-incorrect-routeId-from-Exchange-tp4993170p4996330.html
Sent from the Camel - Users mailing list archive at Nabble.com.