我配置了一条侦听传入短信的路由。 这条路线接收了很多短信,一切似乎都很好,除了两件事:
机上交换次数增长缓慢但持续增长(在55小时的正常运行时间后,我有250次机上交换。
飞行次数的数量似乎与以下错误有关:
我正在使用 camel 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]