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

Unable to update http client configurer instance on dynamic route

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.18.2
    • None
    • camel-http4
    • None
    • Unknown

    Description

      I have created 2 routes as from("direct:route1").routeId("route1").hystrix().to("http4://localhost:8080/success/status?httpClientConfigurer=myHttpClientConfigurer").onFallback().log("fallback from hystrix");

      from("direct:route2").routeId("route2").hystrix().toD("http4://localhost:8080/${headers.api}/status?httpClientConfigurer=myHttpClientConfigurer").onFallback().log("fallback from hystrix");

      Here "myHttpClientConfigurer" is a class which implements "HttpClientConfigurer". At runtime, I change the parameters of this class as my application requires. But the problem is that the changed instance is picked up in "route1" but no change is reflected in "route2"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            akj009 Abhishek Jha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment