camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Jha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11086) Unable to update http client configurer instance on dynamic route
Date Tue, 28 Mar 2017 18:06:41 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945643#comment-15945643
] 

Abhishek Jha commented on CAMEL-11086:
--------------------------------------

The question has been on the mailing list for days now with no resolution, so I thought it
is a bug.

> Unable to update http client configurer instance on dynamic route
> -----------------------------------------------------------------
>
>                 Key: CAMEL-11086
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11086
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http4
>    Affects Versions: 2.18.2
>            Reporter: Abhishek Jha
>
> 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"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message