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

Optimising toD via SendDynamicAware component removes the 3rd octet from IP address

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.22.0
    • Fix Version/s: 2.22.1, 2.23.0
    • Component/s: camel-core
    • Labels:
      None
    • Environment:

      Java 8, Camel 2.22.0, Spring Boot 2.0.3

    • Estimated Complexity:
      Unknown

      Description

      IP address 10.192.1.10 is optimized as 10.192.10

      DEBUG in SendDynamicProcessor:264 [main] - DynamicSendTo sendTo(netty4-http:http://10.192.1.10:8080/client/alerts/summary?throwExceptionOnFailure=false) using ProducerCache with default cache size
      
      DEBUG in SendDynamicProcessor:125 [Camel (camel-1) thread #6 - seda://alertSummary] - Optimising toD via SendDynamicAware component: netty4-http to use static uri: netty4-http:http:10.192.10:8080/path?throwExceptionOnFailure=false
      

      The issue seems to be in AbstractCamelCatalog class, method "doAsEndpointUri(String scheme, Map<String, String> properties, String ampersand, boolean encode) throws URISyntaxException"

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              Frasineanu Catalin Frasineanu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: