Apache camel 使用JProfiler8分析驼峰路线

Apache camel 使用JProfiler8分析驼峰路线,apache-camel,jprofiler,Apache Camel,Jprofiler,我在我的项目中使用ApacheCamel。路由定义如下所示: class RouteBuilder() { public void configure() { // populate the message queue with some messages from("direct:input"). choice(). when(body().isEqual("A")).

我在我的项目中使用ApacheCamel。路由定义如下所示:

  class RouteBuilder() {
        public void configure() {
            // populate the message queue with some messages
            from("direct:input").
             choice().
               when(body().isEqual("A")).
                 beanRef('aProcessorBean').
               otherwise().
                 beanRef('bProcessorBean').
              end().  
            to("direct:output");
        }
    };
这是一个非常原始的示例,它只使用包中的
FromDefinition
ChoiceDefinition
ProcessorDefinition

在现实世界中,路线可能更复杂。我想知道我如何衡量在每条路线上花费的时间。基本上,我认为我需要监控来自的所有
XXXDefinition

包裹如何设置JProfiler以执行此操作?

打开会话设置并转到“筛选器设置”选项卡。删除所有默认独占筛选器,并将项目的顶级包添加为包含筛选器。同时添加
org.apache.camel.model.
作为包含性筛选器。

打开会话设置并转到“筛选器设置”选项卡。删除所有默认独占筛选器,并将项目的顶级包添加为包含筛选器。同时添加
org.apache.camel.model.
作为包含性过滤器