Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5165

[Camel SMPP] Cannot unbind closed session

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.0
    • Fix Version/s: Future
    • Component/s: camel-smpp
    • Labels:
    • Environment:

      Debian 6.0.4 2.6.32-5-686-bigmem, java version "1.6.0_26", servicemix 4.4.0

    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              muellerc Christian Müller
              Reporter:
              mahdeto Mohammady Mahdy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: