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

Make HTTP4 component easy to extend

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.19.0
    • 2.19.0
    • camel-http4
    • None
    • Unknown
    • Patch

    Description

      It would be easier to create new components based on camel-http4 if the HttpComponent::createEndpoint would delegate to several create* methods instead of having all the logic in one method.

      I've encountered this while experimenting on a component that could be based on camel-http4 but with HttpComponent::createEndpoint performing a lot of logic needed to create the Endpoint one would end up with a lot of duplication between the HttpComponent and one's own implementation.

      Attachments

        Issue Links

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: