Christian Ambach created CAMEL-20121:
----------------------------------------
Summary: camel-smpp SMPPSession should be closed after receiving
Unbind from peer
Key: CAMEL-20121
URL: https://issues.apache.org/jira/browse/CAMEL-20121
Project: Camel
Issue Type: Bug
Components: camel-smpp
Affects Versions: 4.2.0, Future
Reporter: Christian Ambach
The SMPP peer I am using Camel against sends an Unbind after an inactivity
period of 60 seconds on the connection. This means that the logical connection
has been terminated and (as I understand the SMPP spec) the peer that received
the Unbind is supposed to terminate the connection as the session cannot be
recovered.
SmppProducer/SmppConsumer don't react on this event and trying to send a SMS
after receiving the Unbind ends up in exceptions
({{{}org.apache.camel.component.smpp.SmppException: java.io.IOException: Cannot
submitShortMessage while session 0f46dc52 in state UNBOUND{}}})
I have created a reproducer and a first version of a potential fix.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)