Willem Jiang created CAMEL-8168:
-----------------------------------
Summary: Mina Does Not Unbind From Listening Port
Key: CAMEL-8168
URL: https://issues.apache.org/jira/browse/CAMEL-8168
Project: Camel
Issue Type: Bug
Components: el-mina2, camel-mina2
Affects Versions: 2.14.1, 2.13.3
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 2.13.4, 2.14.2, 2.15.0
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.
{code}
<from uri="mina2:tcp://0.0.0.0:12345?sync=true"/>
{code}
Note that the problem does not exist if you're using an IP address other than
0.0.0.0. For example:
{code}
<from uri="mina2:tcp://{{host.name}}:12345?sync=true"/>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)