camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Hunt (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1379) Mina configuration is shared between endpoints
Date Tue, 24 Feb 2009 22:38:00 GMT
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


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.


Mime
View raw message