[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


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

        

Reply via email to