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.

Reply via email to