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

camel-http - unnecessary logging in component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Not A Bug
    • 3.1.0
    • None
    • camel-http
    • Novice

    Description

      When sending request this is logged

      (INFO) o.a.camel.component.http.HttpComponent : Created ClientConnectionManager org.apache.http.impl.conn

      It should be set to DEBUG log level.

      Sample route:

           from("timer:foo?period=3600000")
                      .setHeader(HTTP_URI).constant("https://swapi.co/api/films")
                      .toD("${headers." + HTTP_URI + "}")
                      .split().jsonpath("$.results[*].episode_id").streaming()
                          .convertBodyTo(String.class)
                          .setHeader(HTTP_METHOD).constant(GET)
                          .setHeader(HTTP_URI).simple("https://swapi.co/api/films/${body}")
                          .toD("${headers." + HTTP_URI + "}")
                          .log("${body}")
                      .end();
      
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbajic Djordje Bajic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m