[
https://issues.apache.org/activemq/browse/CAMEL-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49962#action_49962
]
Claus Ibsen commented on CAMEL-1379:
------------------------------------
Please add an unit test verifying the fix, but adding 2 mina consumers:
- with custom codec
- no custom codec, eg textline=true
And backport the fix to 1.x if possible. Mina on trunk is changed a bit over 1.x
> Mina configuration is shared between endpoints
> ----------------------------------------------
>
> Key: CAMEL-1379
> URL: https://issues.apache.org/activemq/browse/CAMEL-1379
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-mina
> Affects Versions: 1.5.0
> Environment: All
> Reporter: Christopher Hunt
> Assignee: Willem Jiang
>
> Establishing a MINA endpoint with a custom codec, and then establishing
> another without a custom codec is a problem. The second endpoint inherits the
> first endpoint's codec.
> My recommendation is to not share configuration data between endpoint
> creation. I recommend that the MINA component instantiate a new configuration
> for each new endpoint instead of copying the previous configuration.
> As a workaround the user can specify "codec" as a URI parameter with no value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.