2

我配置了一个监听传入 SMS 的路由。这条路线收到了很多短信,除了两件事之外,一切似乎都很顺利:

  1. 机上交换的数量增长缓慢但不断(在正常运行 55 小时后,我有 250 个机上交换。

  2. 机上交换的数量似乎与以下错误有关:

我正在使用骆驼 2.10.0

这显然是不正常的,我想知道是否有人遇到过同样的问题。

任何帮助,将不胜感激。

>  2012-10-08 12:11:51,039 WARN [pool-27-thread-3]
> o.a.c.c.s.SmppConsumer [CamelLogger.java:224] Caused by:
> [java.lang.NullPointerException - null] 
> java.lang.NullPointerException: null 
>         at java.lang.String.<init>(String.java:515) ~[na:1.6.0_31] 
>         at org.apache.camel.component.smpp.SmppMessage.createBody(SmppMessage.java:81)
> ~[camel-smpp-2.10.0.jar:2.10.0] 
>         at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:41)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.impl.MessageSupport.copyFrom(MessageSupport.java:135)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.impl.MessageSupport.copy(MessageSupport.java:124)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.impl.DefaultUnitOfWork.<init>(DefaultUnitOfWork.java:91)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.impl.DefaultUnitOfWork.<init>(DefaultUnitOfWork.java:71)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.UnitOfWorkProcessor.createUnitOfWork(UnitOfWorkProcessor.java:190)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:102)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
> ~[camel-core-2.10.0.jar:2.10.0] 
>         at org.apache.camel.component.smpp.MessageReceiverListenerImpl.onAcceptDeliverSm(MessageReceiverListenerImpl.java:71)
> ~[camel-smpp-2.10.0.jar:2.10.0] 
>         at org.jsmpp.session.SMPPSession.fireAcceptDeliverSm(SMPPSession.java:445)
> [org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na] 
>         at org.jsmpp.session.SMPPSession.access$0(SMPPSession.java:443)
> [org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na] 
>         at org.jsmpp.session.SMPPSession$ResponseHandlerImpl.processDeliverSm(SMPPSession.java:462)
> [org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na] 
>         at org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm0(SMPPSessionBoundRX.java:109)
> [org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na] 
>         at org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm(SMPPSessionBoundRX.java:51)
> [org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na] 
>         at org.jsmpp.session.PDUProcessTask.run(PDUProcessTask.java:81)
> [org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na] 
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [na:1.6.0_31] 
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [na:1.6.0_31] 
>         at java.lang.Thread.run(Thread.java:662) [na:1.6.0_31]
4

1 回答 1

2

这就是骆驼队的速度和反应速度:

创建并修复了错误 https://issues.apache.org/jira/browse/CAMEL-5693

谢谢克劳斯。

于 2012-10-08T20:54:51.570 回答