[
https://issues.apache.org/jira/browse/CAMEL-5165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269137#comment-13269137
]
Mohammady Mahdy commented on CAMEL-5165:
----------------------------------------
I really don't know, this is fundamentally a problem at the JSMPP level the way
I see it. I was hoping someone else can see it differently or have another
solution.
> [Camel SMPP] Cannot unbind closed session
> -----------------------------------------
>
> Key: CAMEL-5165
> URL: https://issues.apache.org/jira/browse/CAMEL-5165
> Project: Camel
> Issue Type: Bug
> Components: camel-smpp
> Affects Versions: 2.9.0
> Environment: Debian 6.0.4 2.6.32-5-686-bigmem, java version
> "1.6.0_26", servicemix 4.4.0
> Reporter: Mohammady Mahdy
> Labels: smpp
>
> For some reason when the SessionStateListener gets called back with new state
> SessionState.CLOSED. closeSession() is called and then reconnect. However,
> there is no way to send an unbind according to jsmpp, excerpt from
> AbstractSession:
> if (sessionContext().getSessionState().equals(SessionState.CLOSED)) {
> throw new IOException("Session is closed");
> }
> Which would fail reconnect attempts if for example the MC has a maximum
> active session limit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira