It looks your are using the camel internal API to create the route. Can you show use how the route looks like ?
BTW why do you use the RouteDefintion instead of RouteBuilder to define the route.
On 11/15/11 10:04 AM, xiangqiuzhao wrote:
i had create two RouteDefinitions, like RouteDefinition route = new RouteDefinition(); route.from().process(); route.setId(routeIdA); //another route id is routeIdB these RouteDefinitions listening at 5090 and 5091 port. my client send message to the 5091 port, and i use exchange.getFromRouteId(); to get the routeId, but the routeId is routeIdA, not routeIdB. -- View this message in context: http://camel.465427.n5.nabble.com/why-i-get-the-incorrect-routeId-from-Exchange-tp4993170p4993170.html Sent from the Camel - Users mailing list archive at Nabble.com.
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang
