camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5165) [Camel SMPP] Cannot unbind closed session
Date Sun, 29 Apr 2012 13:31:49 GMT

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

Claus Ibsen commented on CAMEL-5165:
------------------------------------

Any suggests what should be done in camel-smpp?
                
> [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

        

Mime
View raw message