camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-1379) Mina configuration is shared between endpoints
Date Wed, 25 Feb 2009 07:09:59 GMT


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:
>             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.

View raw message