我构建了一个如下的camel路由。我使用SMPPSim作为模拟器。我正在apache servicemix 4.4中部署这个bundle
我正面临以下问题
org.jsmpp.extra.NegativeResponseException:发现否定回复0000000b 在org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)[186:org.apache.servicemix.bundles.jsmpp:2.1.0.2] 在org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)[186:org.apache.servicemix.bundles.jsmpp:2.1.0.2] at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:320)[186:org.apache.servicemix.bundles.jsmpp:2.1.0.2] 在org.apache.camel.component.smpp.SmppProducer.process(SmppProducer.java:146)[262:org.apache.camel.camel-smpp:2.8.0.fuse-07-15] at org.apache.camel.impl.converter.AsyncProcessorTypeConverter $ ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.SendProcessor $ 2.doInAsyncProducer(SendProcessor.java:114)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:284)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.SendProcessor.process(SendProcessor.java:109)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:69)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.fabric.FabricTraceProcessor.process(FabricTraceProcessor.java:81)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:318)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:304)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15] 在org.apache.camel.processor.Pipeline.process(Pipeline.java:116)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15]
答案 0 :(得分:1)
错误代码0x0000000B表示ESME_RINVDSTADR目标地址无效。很可能您在JSMPP的目标地址字段中传递了空白值。我过去遇到过这个错误,目的地址不正确。