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

Camel ftp component does not support IPV6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Later
    • None
    • Future
    • camel-core
    • None
    • Unknown

    Description

      Dear Camel team, we are just verifying our migrated application to Apache Camel. Today we found an issue that is not described on the web, in the faq nor among the existing issues. We are creating endpoints via String literals and when we started the IPv6 tests we failed on this issue. The Camel transforms the orginal address {noformat}ftp://[2a00:8a00:6000:40::1413]:8080\{noformat} to this format {noformat}ftp://%5B2a00:8a00:6000:40::1413%5D:8080\{noformat} which causes this exception {noformat}instance1 2013-10-30 13:25:23,914 org.apache.camel.processor.DefaultErrorHandler DEBUG (MarkerIgnoringBase.java:debug:72) Camel (camel-1) thread #74 - JmsConsumer[XXX-RR-TEST] | Failed delivery for (MessageId: ID:mch30-pgd02-b-45068-1383134137465-8:5:1:1:3 on ExchangeId: ID-mch30-pgd02-b-35624-1383134141407-0-176). On delivery attempt: 0 caught: org.apache.commons.httpclient.URIException: IPv6reference{noformat} The suggested solution is to remove the square brackets {noformat}[ ]{noformat} from the {noformat}unsafeCharacters{noformat} in the {noformat}org.apache.camel.util.UnsafeUriCharactersEncoder{noformat} since the square brackets are valid IPv6 characters. Thanks! Best regards, Laci

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggcinsens Zhangbo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: