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

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

Thanks for reporting, you are welcome to see if you can implement this unbind 
operation and attach a patch or github PR against the main branch

> 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.x
>
>         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)

Reply via email to