Apache camel 简单表达式语言:如何在ApacheCamel2.10中获取${routeId}

Apache camel 简单表达式语言:如何在ApacheCamel2.10中获取${routeId},apache-camel,fuseesb,jbossfuse,simple-el,Apache Camel,Fuseesb,Jbossfuse,Simple El,如何访问Apache Camel 2.10中的“routeId” 我从camel 2.11中看到该属性存在 从 还有其他简单的破解方法吗?没有,您需要编写一段代码来获取路由id。您可以查看Camel 2.11以后版本的源代码,了解Camel在该功能中是如何实现的 ${routeId} String Camel 2.11: Returns the id of the current route the Exchange is being routed.

如何访问Apache Camel 2.10中的“routeId”

我从camel 2.11中看到该属性存在


还有其他简单的破解方法吗?

没有,您需要编写一段代码来获取路由id。您可以查看Camel 2.11以后版本的源代码,了解Camel在该功能中是如何实现的

${routeId}
String
Camel 2.11: Returns the id of the current route the Exchange is being routed.