0
Apache Camel中camelContext和routeContext有什麼不同?何時使用camelContext和routeContext?Apache Camel中camelContext和routeContext的區別是什麼
Apache Camel中camelContext和routeContext有什麼不同?何時使用camelContext和routeContext?Apache Camel中camelContext和routeContext的區別是什麼
按照駱駝文檔:
現在可以定義之外<camelContext/>
您在新<routeContext/>
標籤做的路線。 <routeContext/>
中定義的路由可以被多個<camelContext/>
重複使用。然而,它只有被重用的定義。在運行時,每個CamelContext將根據定義創建自己的路由實例。