You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/01/17 06:35:00 UTC

[jira] [Commented] (CAMEL-20121) camel-smpp SMPPSession should be closed after receiving Unbind from peer

    [ https://issues.apache.org/jira/browse/CAMEL-20121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807574#comment-17807574 ] 

Claus Ibsen commented on CAMEL-20121:
-------------------------------------

Thanks for the help with this

> 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
>            Reporter: Christian Ambach
>            Priority: Minor
>             Fix For: 4.4.0
>
>         Attachments: CAMEL-20121-reproducer.zip
>
>
> 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)