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

Mina Does Not Unbind From Listening Port

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.3, 2.14.1
    • 2.13.4, 2.14.2, 2.15.0
    • camel-mina2
    • None
    • Unknown

    Description

      If a bundle includes a mina consumer as the one below, when you stop the bundle, the port is not released. Therefore, when restarting the bundle, you'll get a port already in use bind exception.

      <from uri="mina2:tcp://0.0.0.0:12345?sync=true"/>
      

      Note that the problem does not exist if you're using an IP address other than 0.0.0.0. For example:

      <from uri="mina2:tcp://{{host.name}}:12345?sync=true"/>
      

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: