本文介绍了Apache Camel上下文自动停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个奇怪的问题.当我从IDE运行时,一切正常.当我从控制台运行时,骆驼上下文会自动停止.是什么原因引起的?

I have a weird issue. Everything works perfectly when i run from IDE. Camel context gets stopped automatically when i run from console. What is causing the issue?

附加日志.

10:04:22.015 [Thread-3]调试o.a.c.i.c.AnnotationTypeConverterLoader-找到3个带有16个@Converter类要加载的包10:04:22.079 [Thread-3]调试oacicAnnotationTypeConverterLoader-加载文件META-INF/services/org/apache/camel/TypeConverter以从url中检索软件包列表:jar:file:/C:/projects/project/BS/发行/target/org-bin.tar/org-bin/Plugins/project.jar!/META-INF/services/org/apache/camel/TypeConverter10:04:22.088 [Thread-3]调试o.a.c.i.c.AnnotationTypeConverterLoader-在带注释的类型转换器的类路径中找不到其他程序包名称.10:04:22.089 [Thread-3] INFO o.a.c.i.c.DefaultTypeConverter-加载了182个类型的转换器2017-04-19 10:04:22.097 [Thread-3] INFO项目-添加了路线10:04:22.099 [Thread-3]信息o.a.camel.impl.DefaultCamelContext-Apache Camel 2.17.1(CamelContext:DataCollectorContext)正在启动10:04:22.101 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-使用ClassResolver=org.apache.camel.impl.DefaultClassResolver@6bac7e25,PackageScanClassResolver=org.apache.camel.impl.DefaultPackageScanClassResolver@1a0481c5,ApplicationContextClassLoader10:04:22.101 [Thread-3]信息o.a.camel.impl.DefaultCamelContext-在CamelContext上启用了流缓存:DataCollectorContext10:04:22.103 [Thread-3] INFO o.a.c.m.DefaultManagementStrategy-JMX已禁用10:04:22.115 [Thread-3]调试o.a.c.impl.SharedProducerServicePool-启动服务池:org.apache.camel.impl.SharedProducerServicePool@4cf1dba510:04:22.115 [Thread-3]调试o.a.c.i.SharedPollingConsumerServicePool-启动服务池:org.apache.camel.impl.SharedPollingConsumerServicePool@7257f81d10:04:22.125 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-使用ComponentResolver:org.apache.camel.impl.DefaultComponentResolver@205acc67来解析名称为seda的组件10:04:22.126 [Thread-3]调试o.a.c.impl.DefaultComponentResolver-找到的组件:注册表中的seda:空10:04:22.131 [Thread-3]调试oacimpl.DefaultComponentResolver-找到的组件:通过类型的seda:org.apache.camel.component.seda.SedaComponent通过:META-INF/services/org/apache/camel/component/色达10:04:22.152 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [seda://aggregate],path = [aggregate]10:04:22.162 [Thread-3]调试oacamel.impl.DefaultCamelContext-seda://aggregate转换为端点:端点[seda://aggregate]由组件:org.apache.camel.component.seda.SedaComponent @ 2be155b810:04:22.163 [Thread-3]调试o.a.c.component.seda.SedaComponent-创建的队列seda://aggregate,大小为null10:04:22.163 [Thread-3]信息o.a.c.component.seda.SedaEndpoint-端点Endpoint [seda://aggregate]正在使用共享队列:seda://aggregate,大小:214748364710:04:22.215 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标的通道:'SetHeader [id,constant {n/a}]'10:04:22.266 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [seda://process?waitForTaskToComplete = Never],路径= [process]10:04:22.270 [Thread-3]调试oacicDefaultTypeConverter-将后备类型转换器提升为已知的类型转换器,可以从以下格式转换:org.apache.camel.WaitForTaskToComplete转换为:java.lang.String用于后备转换器:org.apache. camel.impl.converter.EnumTypeConverter@42fd125710:04:22.271 [Thread-3]调试o.a.camel.util.IntrospectionSupport-配置的属性:bean上的waitForTaskToComplete:端点[seda://process?waitForTaskToComplete = Never],值:从不10:04:22.272 [Thread-3]调试oacamel.impl.DefaultCamelContext-seda://process?waitForTaskToComplete =从不转换为端点:Endpoint [seda://process?waitForTaskToComplete = Never]由组件:org.apache转换. camel.component.seda.SedaComponent@2be155b810:04:22.272 [Thread-3]调试o.a.c.component.seda.SedaComponent-创建的队列seda://进程,其大小为null10:04:22.272 [Thread-3]信息o.a.c.component.seda.SedaEndpoint-端点Endpoint [seda://process?waitForTaskToComplete = Never]正在使用共享队列:seda://进程,大小:214748364710:04:22.275 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标通道:'To [seda:process?waitForTaskToComplete = Never]'10:04:22.292 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel-初始化目标通道:'Aggregate [header(id)-> [To [seda:process?waitForTaskToComplete = Never]]]''10:04:22.303 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [seda://process],path = [process]10:04:22.303 [Thread-3]调试oacamel.impl.DefaultCamelContext-seda://process转换为终结点:Endpoint [seda://process]由组件:org.apache.camel.component.seda.SedaComponent @ 2be155b810:04:22.304 [Thread-3]调试o.a.c.component.seda.SedaComponent-重新使用大小为null且引用计数为2的现有队列seda://process10:04:22.304 [Thread-3]信息o.a.c.component.seda.SedaEndpoint-端点Endpoint [seda://process]正在使用共享队列:seda://process,大小:214748364710:04:22.308 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标通道:'process [Processor @ 0x71ed8637]'10:04:22.310 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [seda://cloud?waitForTaskToComplete = Never],路径= [cloud]10:04:22.311 [Thread-3]调试o.a.camel.util.IntrospectionSupport-配置的属性:bean上的waitForTaskToComplete:端点[seda://cloud?waitForTaskToComplete = Never],值:从不10:04:22.312 [Thread-3]调试oacamel.impl.DefaultCamelContext-seda://cloud?waitForTaskToComplete =从不转换为端点:Endpoint [seda://cloud?waitForTaskToComplete = Never]由组件:org.apache组成. camel.component.seda.SedaComponent@2be155b810:04:22.312 [Thread-3]调试o.a.c.component.seda.SedaComponent-创建的队列seda://cloud,大小为null10:04:22.312 [Thread-3]信息o.a.c.component.seda.SedaEndpoint-端点Endpoint [seda://cloud?waitForTaskToComplete = Never]正在使用共享队列:seda://cloud,大小:214748364710:04:22.313 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标通道:'To [seda:cloud?waitForTaskToComplete = Never]'10:04:22.314 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [seda://cloud],path = [cloud]10:04:22.315 [Thread-3]调试oacamel.impl.DefaultCamelContext-seda://cloud已转换为端点:端点[seda://cloud]由组件:org.apache.camel.component.seda.SedaComponent @ 2be155b810:04:22.315 [Thread-3]调试o.a.c.component.seda.SedaComponent-重新使用大小为null且引用计数为2的现有队列seda://cloud10:04:22.315 [Thread-3]信息o.a.c.component.seda.SedaEndpoint-端点Endpoint [seda://cloud]正在使用共享队列:seda://cloud,大小:214748364710:04:22.318 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标通道:'process [Processor @ 0x8b29880]'10:04:22.320 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-使用ComponentResolver:org.apache.camel.impl.DefaultComponentResolver@205acc67解析名称为rest的组件10:04:22.321 [Thread-3]调试o.a.c.impl.DefaultComponentResolver-找到的组件:保留在注册表中:null10:04:22.322 [Thread-3]调试oacimpl.DefaultComponentResolver-找到的组件:通过类型进行休息:org.apache.camel.component.rest.RestComponent通过:META-INF/services/org/apache/camel/component/休息10:04:22.326 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [rest://post:api/v1:/datacollector?componentName = restlet& consumes = application%2Foctet-stream& ; routeId = Data + Collector + Inlet],path = [post:api/v1:/datacollector]10:04:22.327 [Thread-3]调试oacamel.util.IntrospectionSupport-配置的属性:bean上的componentName:端点[rest://post:api/v1:/datacollector?componentName = restlet& consumes = application%2Foctet- stream& routeId = Data + Collector + Inlet],值:restlet10:04:22.328 [Thread-3]调试oacamel.util.IntrospectionSupport-配置的属性:在bean上消耗:端点[rest://post:api/v1:/datacollector?componentName = restlet& consumes = application%2Foctet- stream& routeId = Data + Collector + Inlet],值:application/octet-stream10:04:22.328 [Thread-3]调试oacamel.util.IntrospectionSupport-配置的属性:bean上的routeId:端点[rest://post:api/v1:/datacollector?componentName = restlet& consumes = application%2Foctet- stream& routeId = Data + Collector + Inlet],值:数据收集器入口10:04:22.330 [Thread-3]调试oacamel.impl.DefaultCamelContext-rest://post:api/v1:/datacollector?componentName = restlet&consumes = application%2Foctet-stream& routeId = Data + Collector + Inlet转换为端点:Endpoint [rest://post:api/v1:/datacollector?componentName = restlet& consumes = application%2Foctet-stream& routeId = Data + Collector + Inlet],其组件为:org.apache.camel.component. rest.RestComponent@647c8a4510:04:22.337 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标频道:"RestBinding"10:04:22.340 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [seda://aggregate?waitForTaskToComplete = Never],路径= [aggregate]10:04:22.340 [Thread-3]调试o.a.camel.util.IntrospectionSupport-配置的属性:bean上的waitForTaskToComplete:端点[seda://aggregate?waitForTaskToComplete = Never],值:从不10:04:22.341 [Thread-3]调试oacamel.impl.DefaultCamelContext-seda://aggregate?waitForTaskToComplete =从不转换为端点:Endpoint [seda://aggregate?waitForTaskToComplete = Never]由组件:org.apache组成. camel.component.seda.SedaComponent@2be155b810:04:22.341 [Thread-3]调试o.a.c.component.seda.SedaComponent-重用大小为null且引用计数为2的现有队列seda://aggregate10:04:22.341 [Thread-3]信息o.a.c.component.seda.SedaEndpoint-端点Endpoint [seda://aggregate?waitForTaskToComplete = Never]正在使用共享队列:seda://aggregate,大小:214748364710:04:22.341 [Thread-3]调试o.a.c.p.interceptor.DefaultChannel-初始化目标通道:'To [seda:aggregate?waitForTaskToComplete = Never]'10:04:22.342 [Thread-3]信息o.a.camel.impl.DefaultCamelContext-启用了AllowUseOriginalMessage.如果不需要访问原始消息,则建议关闭此选项,因为这可能会提高性能.10:04:22.346 [Thread-3]调试o.a.c.i.DefaultStreamCachingStrategy-创建的后台打印目录:C:\ Users \ 310103〜1 \ AppData \ Local \ Temp \ camel \ camel-tmp-4fc4d293-9e75-4dc4-dcd967-c97fbff9a72510:04:22.347 [Thread-3]调试oaciDefaultStreamCachingStrategy-StreamCaching配置DefaultStreamCachingStrategy [spoolDirectory = C:\ Users \ 310103〜1 \ AppData \ Local \ Temp \ camel \ camel-tmp-4fc4d293-9e75-4dc4-967d-c97fbff9a725 ,spoolChiper = null,spoolThreshold = 131072,spoolUsedHeapMemoryThreshold = 0,bufferSize = 4096,anySpoolRules = false]10:04:22.347 [Thread-3]信息oaciDefaultStreamCachingStrategy-与假脱机目录一起使用的StreamCaching:C:\ Users \ 310103〜1 \ AppData \ Local \ Temp \ camel \ camel-tmp-4fc4d293-9e75-4dc4-967d- c97fbff9a725和规则:[Spool> 128K body size]10:04:22.348 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-预热路由ID:具有autoStartup = true的消息聚合10:04:22.349 [Thread-3]调试org.apache.camel.impl.RouteService-在路线上启动服务:消息聚合10:04:22.351 [Thread-3] DEBUG org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合->管道[[Channel [SetHeader(id,n/a)],Channel [AggregateProcessor [收件人:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])]]]]]]]]]10:04:22.353 [Thread-3]信息o.a.c.p.aggregate.AggregateProcessor-默认为MemoryAggregationRepository10:04:22.360 [Thread-3]调试o.a.c.component.seda.SedaProducer-开始的生产者:Producer [seda://process?waitForTaskToComplete = Never]10:04:22.360 [Thread-3]调试org.apache.camel.impl.ProducerCache-使用以下项添加到生产者缓存:端点[seda://process?waitForTaskToComplete = Never]生产者:Producer [seda://process ?waitForTaskToComplete =从不]10:04:22.361 [Thread-3] DEBUG org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合->管道[[Channel [SetHeader(id,n/a)],Channel [AggregateProcessor [收件人:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])]]]]]]]]]10:04:22.361 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> SetHeader(id,n/a)10:04:22.361 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> Channel [SetHeader(id,n/a)]10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> AggregateProcessor [发送至:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never ])]]10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> Channel [AggregateProcessor [to:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete =从不])]]]10:04:22.362 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])10:04:22.362 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])10:04:22.362 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:消息聚合-> Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])10:04:22.363 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-预热路由ID:具有autoStartup = true的Meta Data Enricher10:04:22.363 [Thread-3]调试org.apache.camel.impl.RouteService-在路线上启动服务:Meta Data Enricher10:04:22.364 [Thread-3] DEBUG org.apache.camel.impl.RouteService-在路径上启动子服务:Meta Data Enricher-> Pipeline [[Channel [DelegateSync [com.org.unit.server.plugin.MetaDataEnricher @ 71ed8637]],频道[sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])]]]]10:04:22.364 [Thread-3]调试o.a.c.component.seda.SedaProducer-起始生产者:Producer [seda://cloud?waitForTaskToComplete = Never]10:04:22.364 [Thread-3]调试org.apache.camel.impl.ProducerCache-使用以下项添加到生产者缓存:端点[seda://cloud?waitForTaskToComplete = Never]生产者:Producer [seda://cloud ?waitForTaskToComplete =从不]10:04:22.365 [Thread-3] DEBUG org.apache.camel.impl.RouteService-在路径上启动子服务:Meta Data Enricher-> Pipeline [[Channel [DelegateSync [com.org.unit.server.plugin.MetaDataEnricher @ 71ed8637]],频道[sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])]]]]10:04:22.365 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:Meta Data Enricher-> DelegateSync [com.org.unit.server.plugin.MetaDataEnricher@71ed8637]10:04:22.365 [Thread-3]调试org.apache.camel.impl.RouteService-在路径上启动子服务:Meta Data Enricher-> Channel [DelegateSync [com.org.unit.server.plugin.MetaDataEnricher@71ed8637] ]10:04:22.365 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:Meta Data Enricher-> sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])10:04:22.365 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:Meta Data Enricher-> Channel [sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])10:04:22.366 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-热身路线ID:具有autoStartup = true的xmpp Messenger10:04:22.366 [Thread-3]调试org.apache.camel.impl.RouteService-在路线上启动服务:xmpp Messenger10:04:22.366 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:xmpp Messenger-> Channel [DelegateSync [com.org.unit.server.plugin.xmppMessenger@8b29880]]10:04:22.366 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:xmpp Messenger-> DelegateSync [com.org.unit.server.plugin.xmppMessenger@8b29880]10:04:22.366 [Thread-3]调试org.apache.camel.impl.RouteService-在路由上启动子服务:xmpp Messenger-> Channel [DelegateSync [com.org.unit.server.plugin.xmppMessenger@8b29880]]10:04:22.367 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-热身路线ID:具有autoStartup = true的数据收集器入口10:04:22.367 [Thread-3]调试org.apache.camel.impl.RouteService-在路线上启动服务:数据收集器入口10:04:22.367 [Thread-3]调试o.a.camel.impl.DefaultCamelContext-使用ComponentResolver:org.apache.camel.impl.DefaultComponentResolver@205acc67解析名称为restlet的组件10:04:22.367 [Thread-3]调试o.a.c.impl.DefaultComponentResolver-找到的组件:注册表中的restlet:空10:04:22.372 [Thread-3]调试oacimpl.DefaultComponentResolver-找到的组件:通过类型的restlet:org.apache.camel.component.restlet.RestletComponent通过:META-INF/services/org/apache/camel/component/座便器10:04:22.609 [Thread-3]调试o.a.camel.util.IntrospectionSupport-配置的属性:bean上的持久连接:org.apache.camel.component.restlet.RestletComponent@12bb40f7,值:true10:04:22.609 [Thread-3]调试o.a.camel.util.IntrospectionSupport-配置的属性:pipelining Bean上的连接:org.apache.camel.component.restlet.RestletComponent@12bb40f7,值:true10:04:22.609 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport-配置的属性:maxQueued on bean:org.apache.camel.component.restlet.RestletComponent@12bb40f7,值:-110:04:22.613 [Thread-3]调试o.apache.camel.impl.DefaultComponent-创建端点uri = [restlet:// http://localhost:1785/api/v1/datacollector?restletMethods = POST] ,路径= [ http://localhost:1785/api/v1/datacollector] 10:04:22.616 [Thread-3]信息o.a.camel.impl.DefaultCamelContext-Apache Camel 2.17.1(CamelContext:DataCollectorContext)正在关闭10:04:22.616 [Thread-3]调试o.a.c.i.DefaultAsyncProcessorAwaitManager-在没有运行中线程的情况下关闭.10:04:22.616 [Thread-3]调试org.apache.camel.impl.RouteService-停止路线上的服务:数据收集器入口10:04:22.616 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路线上的服务:数据收集器入口10:04:22.617 [Thread-3]调试org.apache.camel.impl.RouteService-停止路线上的服务:xmpp Messenger10:04:22.617 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:xmpp Messenger-> SedaConsumer [Endpoint [seda://cloud]]10:04:22.617 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:xmpp Messenger-> Channel [DelegateSync [com.org.unit.server.plugin.xmppMessenger@8b29880] ]10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路径上的子服务:xmpp Messenger-> DelegateSync [com.org.unit.server.plugin.xmppMessenger@8b29880]10:04:22.617 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:xmpp Messenger-> Channel [DelegateSync [com.org.unit.server.plugin.xmppMessenger@8b29880] ]10:04:22.617 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路线上的服务:xmpp Messenger10:04:22.618 [Thread-3]调试org.apache.camel.impl.RouteService-停止路由服务:Meta Data Enricher10:04:22.618 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> SedaConsumer [Endpoint [seda://process]]10:04:22.618 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> Pipeline [[Channel [DelegateSync [com.org.unit.server.plugin. MetaDataEnricher @ 71ed8637]]],频道[sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])]]]]10:04:22.618 [Thread-3]调试o.a.c.component.seda.SedaProducer-停止生产者:Producer [seda://cloud?waitForTaskToComplete = Never]10:04:22.618 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> Pipeline [[Channel [DelegateSync [com.org.unit.server.plugin. MetaDataEnricher @ 71ed8637]]],频道[sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])]]]]]10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> DelegateSync [com.org.unit.server.plugin.MetaDataEnricher@71ed8637]10:04:22.619 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> Channel [DelegateSync [com.org.unit.server.plugin.MetaDataEnricher@71ed8637 ]]10:04:22.619 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never])10:04:22.619 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:Meta Data Enricher-> Channel [sendTo(Endpoint [seda://cloud?waitForTaskToComplete = Never]] ]10:04:22.619 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路线上的服务:Meta Data Enricher10:04:22.619 [Thread-3]调试org.apache.camel.impl.RouteService-停止路由上的服务:消息聚合10:04:22.620 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:消息聚合-> SedaConsumer [Endpoint [seda://aggregate]]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路径上的子服务:消息聚合->管道[[Channel [SetHeader(id,n/a)],Channel [AggregateProcessor [到:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never]]]]]]]]]10:04:22.620 [Thread-3]调试o.a.c.component.seda.SedaProducer-停止生产者:Producer [seda://process?waitForTaskToComplete = Never]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路径上的子服务:消息聚合->管道[[Channel [SetHeader(id,n/a)],Channel [AggregateProcessor [到:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never]]]]]]]]]10:04:22.620 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:消息聚合-> SetHeader(id,n/a)10:04:22.620 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路径上的子服务:消息聚合-> Channel [SetHeader(id,n/a)]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路由上的子服务:消息聚合-> AggregateProcessor [发送至:Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete =绝不])]]10:04:22.621 [Thread-3]调试o.a.c.i.DefaultExecutorServiceManager-强制关闭ExecutorService:org.apache.camel.util.concurrent.SynchronousExecutorService@43e17e8310:04:22.622 [Thread-3]调试org.apache.camel.impl.RouteService-关闭路由上的子服务:消息聚合-> Channel [AggregateProcessor [to:Channel [sendTo(Endpoint [seda://process? waitForTaskToComplete =从不])]]]10:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路由上的子服务:消息聚合-> Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])10:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路由上的子服务:消息聚合-> sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])10:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService-关闭路由上的子服务:消息聚合-> Channel [sendTo(Endpoint [seda://process?waitForTaskToComplete = Never])

10:04:22.015 [Thread-3] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Found 3 packages with 16 @Converter classes to load10:04:22.079 [Thread-3] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Loading file META-INF/services/org/apache/camel/TypeConverter to retrieve list of packages, from url: jar:file:/C:/projects/project/BS/distribution/target/org-bin.tar/org-bin/Plugins/project.jar!/META-INF/services/org/apache/camel/TypeConverter10:04:22.088 [Thread-3] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - No additional package names found in classpath for annotated type converters.10:04:22.089 [Thread-3] INFO o.a.c.i.c.DefaultTypeConverter - Loaded 182 type converters2017-04-19 10:04:22.097 [Thread-3] INFO project - Routes added10:04:22.099 [Thread-3] INFO o.a.camel.impl.DefaultCamelContext - Apache Camel 2.17.1 (CamelContext: DataCollectorContext) is starting10:04:22.101 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Using ClassResolver=org.apache.camel.impl.DefaultClassResolver@6bac7e25, PackageScanClassResolver=org.apache.camel.impl.DefaultPackageScanClassResolver@1a0481c5, ApplicationContextClassLoader=null10:04:22.101 [Thread-3] INFO o.a.camel.impl.DefaultCamelContext - StreamCaching is enabled on CamelContext: DataCollectorContext10:04:22.103 [Thread-3] INFO o.a.c.m.DefaultManagementStrategy - JMX is disabled10:04:22.115 [Thread-3] DEBUG o.a.c.impl.SharedProducerServicePool - Starting service pool: org.apache.camel.impl.SharedProducerServicePool@4cf1dba510:04:22.115 [Thread-3] DEBUG o.a.c.i.SharedPollingConsumerServicePool - Starting service pool: org.apache.camel.impl.SharedPollingConsumerServicePool@7257f81d10:04:22.125 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Using ComponentResolver: org.apache.camel.impl.DefaultComponentResolver@205acc67 to resolve component with name: seda10:04:22.126 [Thread-3] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: seda in registry: null10:04:22.131 [Thread-3] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: seda via type: org.apache.camel.component.seda.SedaComponent via: META-INF/services/org/apache/camel/component/seda10:04:22.152 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[seda://aggregate], path=[aggregate]10:04:22.162 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - seda://aggregate converted to endpoint: Endpoint[seda://aggregate] by component: org.apache.camel.component.seda.SedaComponent@2be155b810:04:22.163 [Thread-3] DEBUG o.a.c.component.seda.SedaComponent - Created queue seda://aggregate with size null10:04:22.163 [Thread-3] INFO o.a.c.component.seda.SedaEndpoint - Endpoint Endpoint[seda://aggregate] is using shared queue: seda://aggregate with size: 214748364710:04:22.215 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'SetHeader[id, constant{n/a}]'10:04:22.266 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[seda://process?waitForTaskToComplete=Never], path=[process]10:04:22.270 [Thread-3] DEBUG o.a.c.i.c.DefaultTypeConverter - Promoting fallback type converter as a known type converter to convert from: org.apache.camel.WaitForTaskToComplete to: java.lang.String for the fallback converter: org.apache.camel.impl.converter.EnumTypeConverter@42fd125710:04:22.271 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: waitForTaskToComplete on bean: Endpoint[seda://process?waitForTaskToComplete=Never] with value: Never10:04:22.272 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - seda://process?waitForTaskToComplete=Never converted to endpoint: Endpoint[seda://process?waitForTaskToComplete=Never] by component: org.apache.camel.component.seda.SedaComponent@2be155b810:04:22.272 [Thread-3] DEBUG o.a.c.component.seda.SedaComponent - Created queue seda://process with size null10:04:22.272 [Thread-3] INFO o.a.c.component.seda.SedaEndpoint - Endpoint Endpoint[seda://process?waitForTaskToComplete=Never] is using shared queue: seda://process with size: 214748364710:04:22.275 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'To[seda:process?waitForTaskToComplete=Never]'10:04:22.292 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'Aggregate[header(id) -> [To[seda:process?waitForTaskToComplete=Never]]]'10:04:22.303 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[seda://process], path=[process]10:04:22.303 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - seda://process converted to endpoint: Endpoint[seda://process] by component: org.apache.camel.component.seda.SedaComponent@2be155b810:04:22.304 [Thread-3] DEBUG o.a.c.component.seda.SedaComponent - Reusing existing queue seda://process with size null and reference count 210:04:22.304 [Thread-3] INFO o.a.c.component.seda.SedaEndpoint - Endpoint Endpoint[seda://process] is using shared queue: seda://process with size: 214748364710:04:22.308 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'process[Processor@0x71ed8637]'10:04:22.310 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[seda://cloud?waitForTaskToComplete=Never], path=[cloud]10:04:22.311 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: waitForTaskToComplete on bean: Endpoint[seda://cloud?waitForTaskToComplete=Never] with value: Never10:04:22.312 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - seda://cloud?waitForTaskToComplete=Never converted to endpoint: Endpoint[seda://cloud?waitForTaskToComplete=Never] by component: org.apache.camel.component.seda.SedaComponent@2be155b810:04:22.312 [Thread-3] DEBUG o.a.c.component.seda.SedaComponent - Created queue seda://cloud with size null10:04:22.312 [Thread-3] INFO o.a.c.component.seda.SedaEndpoint - Endpoint Endpoint[seda://cloud?waitForTaskToComplete=Never] is using shared queue: seda://cloud with size: 214748364710:04:22.313 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'To[seda:cloud?waitForTaskToComplete=Never]'10:04:22.314 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[seda://cloud], path=[cloud]10:04:22.315 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - seda://cloud converted to endpoint: Endpoint[seda://cloud] by component: org.apache.camel.component.seda.SedaComponent@2be155b810:04:22.315 [Thread-3] DEBUG o.a.c.component.seda.SedaComponent - Reusing existing queue seda://cloud with size null and reference count 210:04:22.315 [Thread-3] INFO o.a.c.component.seda.SedaEndpoint - Endpoint Endpoint[seda://cloud] is using shared queue: seda://cloud with size: 214748364710:04:22.318 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'process[Processor@0x8b29880]'10:04:22.320 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Using ComponentResolver: org.apache.camel.impl.DefaultComponentResolver@205acc67 to resolve component with name: rest10:04:22.321 [Thread-3] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: rest in registry: null10:04:22.322 [Thread-3] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: rest via type: org.apache.camel.component.rest.RestComponent via: META-INF/services/org/apache/camel/component/rest10:04:22.326 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[rest://post:api/v1:/datacollector?componentName=restlet&consumes=application%2Foctet-stream&routeId=Data+Collector+Inlet], path=[post:api/v1:/datacollector]10:04:22.327 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: componentName on bean: Endpoint[rest://post:api/v1:/datacollector?componentName=restlet&consumes=application%2Foctet-stream&routeId=Data+Collector+Inlet] with value: restlet10:04:22.328 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: consumes on bean: Endpoint[rest://post:api/v1:/datacollector?componentName=restlet&consumes=application%2Foctet-stream&routeId=Data+Collector+Inlet] with value: application/octet-stream10:04:22.328 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: routeId on bean: Endpoint[rest://post:api/v1:/datacollector?componentName=restlet&consumes=application%2Foctet-stream&routeId=Data+Collector+Inlet] with value: Data Collector Inlet10:04:22.330 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - rest://post:api/v1:/datacollector?componentName=restlet&consumes=application%2Foctet-stream&routeId=Data+Collector+Inlet converted to endpoint: Endpoint[rest://post:api/v1:/datacollector?componentName=restlet&consumes=application%2Foctet-stream&routeId=Data+Collector+Inlet] by component: org.apache.camel.component.rest.RestComponent@647c8a4510:04:22.337 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'RestBinding'10:04:22.340 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[seda://aggregate?waitForTaskToComplete=Never], path=[aggregate]10:04:22.340 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: waitForTaskToComplete on bean: Endpoint[seda://aggregate?waitForTaskToComplete=Never] with value: Never10:04:22.341 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - seda://aggregate?waitForTaskToComplete=Never converted to endpoint: Endpoint[seda://aggregate?waitForTaskToComplete=Never] by component: org.apache.camel.component.seda.SedaComponent@2be155b810:04:22.341 [Thread-3] DEBUG o.a.c.component.seda.SedaComponent - Reusing existing queue seda://aggregate with size null and reference count 210:04:22.341 [Thread-3] INFO o.a.c.component.seda.SedaEndpoint - Endpoint Endpoint[seda://aggregate?waitForTaskToComplete=Never] is using shared queue: seda://aggregate with size: 214748364710:04:22.341 [Thread-3] DEBUG o.a.c.p.interceptor.DefaultChannel - Initialize channel for target: 'To[seda:aggregate?waitForTaskToComplete=Never]'10:04:22.342 [Thread-3] INFO o.a.camel.impl.DefaultCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.10:04:22.346 [Thread-3] DEBUG o.a.c.i.DefaultStreamCachingStrategy - Created spool directory: C:\Users\310103~1\AppData\Local\Temp\camel\camel-tmp-4fc4d293-9e75-4dc4-967d-c97fbff9a72510:04:22.347 [Thread-3] DEBUG o.a.c.i.DefaultStreamCachingStrategy - StreamCaching configuration DefaultStreamCachingStrategy[spoolDirectory=C:\Users\310103~1\AppData\Local\Temp\camel\camel-tmp-4fc4d293-9e75-4dc4-967d-c97fbff9a725, spoolChiper=null, spoolThreshold=131072, spoolUsedHeapMemoryThreshold=0, bufferSize=4096, anySpoolRules=false]10:04:22.347 [Thread-3] INFO o.a.c.i.DefaultStreamCachingStrategy - StreamCaching in use with spool directory: C:\Users\310103~1\AppData\Local\Temp\camel\camel-tmp-4fc4d293-9e75-4dc4-967d-c97fbff9a725 and rules: [Spool > 128K body size]10:04:22.348 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Warming up route id: Message Aggregation having autoStartup=true10:04:22.349 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting services on route: Message Aggregation10:04:22.351 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> Pipeline[[Channel[SetHeader(id, n/a)], Channel[AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]]]]10:04:22.353 [Thread-3] INFO o.a.c.p.aggregate.AggregateProcessor - Defaulting to MemoryAggregationRepository10:04:22.360 [Thread-3] DEBUG o.a.c.component.seda.SedaProducer - Starting producer: Producer[seda://process?waitForTaskToComplete=Never]10:04:22.360 [Thread-3] DEBUG org.apache.camel.impl.ProducerCache - Adding to producer cache with key: Endpoint[seda://process?waitForTaskToComplete=Never] for producer: Producer[seda://process?waitForTaskToComplete=Never]10:04:22.361 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> Pipeline[[Channel[SetHeader(id, n/a)], Channel[AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]]]]10:04:22.361 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> SetHeader(id, n/a)10:04:22.361 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> Channel[SetHeader(id, n/a)]10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> Channel[AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]]10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])10:04:22.362 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Message Aggregation -> Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]10:04:22.363 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Warming up route id: Meta Data Enricher having autoStartup=true10:04:22.363 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting services on route: Meta Data Enricher10:04:22.364 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Meta Data Enricher -> Pipeline[[Channel[DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]], Channel[sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])]]]10:04:22.364 [Thread-3] DEBUG o.a.c.component.seda.SedaProducer - Starting producer: Producer[seda://cloud?waitForTaskToComplete=Never]10:04:22.364 [Thread-3] DEBUG org.apache.camel.impl.ProducerCache - Adding to producer cache with key: Endpoint[seda://cloud?waitForTaskToComplete=Never] for producer: Producer[seda://cloud?waitForTaskToComplete=Never]10:04:22.365 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Meta Data Enricher -> Pipeline[[Channel[DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]], Channel[sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])]]]10:04:22.365 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Meta Data Enricher -> DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]10:04:22.365 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Meta Data Enricher -> Channel[DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]]10:04:22.365 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Meta Data Enricher -> sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])10:04:22.365 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: Meta Data Enricher -> Channel[sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])]10:04:22.366 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Warming up route id: xmpp Messenger having autoStartup=true10:04:22.366 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting services on route: xmpp Messenger10:04:22.366 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: xmpp Messenger -> Channel[DelegateSync[com.org.unit.server.plugin.xmppMessenger@8b29880]]10:04:22.366 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: xmpp Messenger -> DelegateSync[com.org.unit.server.plugin.xmppMessenger@8b29880]10:04:22.366 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting child service on route: xmpp Messenger -> Channel[DelegateSync[com.org.unit.server.plugin.xmppMessenger@8b29880]]10:04:22.367 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Warming up route id: Data Collector Inlet having autoStartup=true10:04:22.367 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Starting services on route: Data Collector Inlet10:04:22.367 [Thread-3] DEBUG o.a.camel.impl.DefaultCamelContext - Using ComponentResolver: org.apache.camel.impl.DefaultComponentResolver@205acc67 to resolve component with name: restlet10:04:22.367 [Thread-3] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: restlet in registry: null10:04:22.372 [Thread-3] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: restlet via type: org.apache.camel.component.restlet.RestletComponent via: META-INF/services/org/apache/camel/component/restlet10:04:22.609 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: persistingConnections on bean: org.apache.camel.component.restlet.RestletComponent@12bb40f7 with value: true10:04:22.609 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: pipeliningConnections on bean: org.apache.camel.component.restlet.RestletComponent@12bb40f7 with value: true10:04:22.609 [Thread-3] DEBUG o.a.camel.util.IntrospectionSupport - Configured property: maxQueued on bean: org.apache.camel.component.restlet.RestletComponent@12bb40f7 with value: -110:04:22.613 [Thread-3] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[restlet://http://localhost:1785/api/v1/datacollector?restletMethods=POST], path=[http://localhost:1785/api/v1/datacollector]10:04:22.616 [Thread-3] INFO o.a.camel.impl.DefaultCamelContext - Apache Camel 2.17.1 (CamelContext: DataCollectorContext) is shutting down10:04:22.616 [Thread-3] DEBUG o.a.c.i.DefaultAsyncProcessorAwaitManager - Shutting down with no inflight threads.10:04:22.616 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Stopping services on route: Data Collector Inlet10:04:22.616 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down services on route: Data Collector Inlet10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Stopping services on route: xmpp Messenger10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: xmpp Messenger -> SedaConsumer[Endpoint[seda://cloud]]10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: xmpp Messenger -> Channel[DelegateSync[com.org.unit.server.plugin.xmppMessenger@8b29880]]10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: xmpp Messenger -> DelegateSync[com.org.unit.server.plugin.xmppMessenger@8b29880]10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: xmpp Messenger -> Channel[DelegateSync[com.org.unit.server.plugin.xmppMessenger@8b29880]]10:04:22.617 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down services on route: xmpp Messenger10:04:22.618 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Stopping services on route: Meta Data Enricher10:04:22.618 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> SedaConsumer[Endpoint[seda://process]]10:04:22.618 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> Pipeline[[Channel[DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]], Channel[sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])]]]10:04:22.618 [Thread-3] DEBUG o.a.c.component.seda.SedaProducer - Stopping producer: Producer[seda://cloud?waitForTaskToComplete=Never]10:04:22.618 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> Pipeline[[Channel[DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]], Channel[sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])]]]10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> Channel[DelegateSync[com.org.unit.server.plugin.MetaDataEnricher@71ed8637]]10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Meta Data Enricher -> Channel[sendTo(Endpoint[seda://cloud?waitForTaskToComplete=Never])]10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down services on route: Meta Data Enricher10:04:22.619 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Stopping services on route: Message Aggregation10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> SedaConsumer[Endpoint[seda://aggregate]]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> Pipeline[[Channel[SetHeader(id, n/a)], Channel[AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]]]]10:04:22.620 [Thread-3] DEBUG o.a.c.component.seda.SedaProducer - Stopping producer: Producer[seda://process?waitForTaskToComplete=Never]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> Pipeline[[Channel[SetHeader(id, n/a)], Channel[AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]]]]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> SetHeader(id, n/a)10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> Channel[SetHeader(id, n/a)]10:04:22.620 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]10:04:22.621 [Thread-3] DEBUG o.a.c.i.DefaultExecutorServiceManager - Forcing shutdown of ExecutorService: org.apache.camel.util.concurrent.SynchronousExecutorService@43e17e8310:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> Channel[AggregateProcessor[to: Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]]]10:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]10:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])10:04:22.622 [Thread-3] DEBUG org.apache.camel.impl.RouteService - Shutting down child service on route: Message Aggregation -> Channel[sendTo(Endpoint[seda://process?waitForTaskToComplete=Never])]

推荐答案

包装中的TypeConvertor有问题.没有从maven下载所有文件.使用maven-assembly-plugin制作具有依赖项的jar.

There was a problem with TypeConvertor in packaging. All the files were not getting downloaded from maven. Used maven-assembly-plugin to make a jar with dependencies.

这篇关于Apache Camel上下文自动停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 01:51