Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1379

Mina configuration is shared between endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 2.0-M1, 1.6.1
    • camel-mina
    • None
    • All

    Description

      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.

      Attachments

        Activity

          People

            njiang Willem Jiang
            huntc@internode.on.net Christopher Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: