我正在使用 JSMPP http://code.google.com/p/jsmpp/发送和接收消息。当我发送少于 140 个字符的短消息时它工作正常但是当我尝试发送长短信时,它会抛出以下例外:
我尝试设置 TransactionTimer(3000L); 它仍然给我同样的错误
我设置可选参数的方式是否正确,或者我在那里做错了什么,因此发生了这个错误?任何人都可以让我知道。
Response timeout
org.jsmpp.extra.ResponseTimeoutException: No response after waiting for 2000 millis when executing submit_sm with sessionId 090debe6 and sequenceNumber 2
at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:261)
at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:320)
at javaapplication1.SimpleSubmitExample.main(SimpleSubmitExample.java:99)
Caused by: org.jsmpp.extra.ResponseTimeoutException: No response after 3000 millis
at org.jsmpp.extra.PendingResponse.waitDone(PendingResponse.java:117)
at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:257)
... 2 more